# 6. Copy the mod_rewrite rules to the Maven 1.x repository @ Ibiblio
# ------------------------------------------------------------------------
+dir=`pwd`
+syncProperties=$dir/synchronize.properties
+
MODE=$1
PID=$$
exit 1
fi
-. synchronize.properties
+. $syncProperties
echo "Using the following settings:"
echo "CENTRAL_HOST = $CENTRAL_HOST"
echo "Running repoclean"
(
- $REPOCLEAN/m1-m2-conversion.sh
+ $REPOCLEAN/m1-m2-conversion.sh $syncProperties
retval=$?; if [ $retval != 0 ]; then exit $retval; fi
)
retval=$?; if [ $retval != 0 ]; then exit $retval; fi
(
cd $SYNC_TOOLS
- ./sync-central-to-ibiblio.sh
+ ./sync-central-to-ibiblio.sh $syncProperties
retval=$?; if [ $retval != 0 ]; then exit $retval; fi
)
retval=$?; if [ $retval != 0 ]; then exit $retval; fi