echo "REPOCLEAN = $REPOCLEAN"
echo "M1_M2_REWRITE_RULES = $M1_M2_REWRITE_RULES"
-[ "$MODE" = "batch" ] && echo && echo "To continue press any key or hit ^C to quit." && echo
+[ "$MODE" = "batch" ] && echo && echo "Press any key to continue, or hit ^C to quit." && echo
# ------------------------------------------------------------------------
-# Syncopate: the Maven 1.x repository
+# Syncopate: Sync the Maven 1.x repositories
# ------------------------------------------------------------------------
-echo Running Syncopate
+
+[ "$MODE" = "batch" ] && echo && echo "Press any key to run syncopate, or hit ^C to quit." && echo
+
+echo "Running Syncopate"
(
cd $SYNCOPATE
# ------------------------------------------------------------------------
# Repoclean: converting the Maven 1.x repository to Maven 2.x
# ------------------------------------------------------------------------
-echo Running repoclean
+
+[ "$MODE" = "batch" ] && echo && echo "Press any key to run the m1 to m2 conversion, or hit ^C to quit." && echo
+
+echo "Running repoclean"
(
$REPOCLEAN/sync-repoclean.sh
# ------------------------------------------------------------------------
# Manual fixes
# ------------------------------------------------------------------------
-echo Removing commons-logging 1.1-dev
+
+[ "$MODE" = "batch" ] && echo && echo "Press any key to run manual fixes, or hit ^C to quit." && echo
+
+echo "Removing commons-logging 1.1-dev"
# hack prevent commons-logging-1.1-dev
CL=$HOME/repository-staging/to-ibiblio/maven2/commons-logging/commons-logging
# ------------------------------------------------------------------------
# Ibiblio synchronization: sync the central repository to Ibiblio
# ------------------------------------------------------------------------
-echo Synchronizing to ibiblio
+
+[ "$MODE" = "batch" ] && echo && echo "Press any key to run the sync to Ibiblio, or hit ^C to quit." && echo
+
+echo "Synchronizing to ibiblio"
(
cd $SYNC_TOOLS
# ------------------------------------------------------------------------
# Copy the mod_rewrite rules to the Maven 1.x repository
# ------------------------------------------------------------------------
+
+[ "$MODE" = "batch" ] && echo && echo "Press any key to copy the m1 to m2 rewrite rules, or hit ^C to quit." && echo
+
+echo "Copying rewrite rules into place"
+
if [ "hostname" == $CENTRAL_HOST ]; then
cp $M1_M2_REWRITE_RULES $HOME/repository-staging/to-ibiblio/maven/.htaccess
else