From 8ec9c7043bf669e0db4d40fbb039fcf4f22faad5 Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Mon, 16 Oct 2006 17:21:48 +0000 Subject: [PATCH] o display the settings and provide an interactive debug mode, use batch mode for automation git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@464573 13f79535-47bb-0310-9956-ffa450edef68 --- maven-meeper/src/bin/synchronize.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/maven-meeper/src/bin/synchronize.sh b/maven-meeper/src/bin/synchronize.sh index f6a6de401..9132a7db4 100755 --- a/maven-meeper/src/bin/synchronize.sh +++ b/maven-meeper/src/bin/synchronize.sh @@ -8,6 +8,8 @@ # 5. Copy the mod_rewrite rules to the Maven 2.x repository # ------------------------------------------------------------------------ +MODE=$1 + PID=$$ RUNNING=`ps -ef | grep synchronize.sh | grep -v 'sh -c' | grep -v grep | grep -v $PID` if [ ! -z "$RUNNING" ]; then @@ -18,6 +20,16 @@ fi . synchronize.properties +echo "Using the following settings:" +echo "CENTRAL_HOST = $CENTRAL_HOST" +echo "TOOLS_BASE = $TOOLS_BASE" +echo "SYNC_TOOLS = $SYNC_TOOLS" +echo "SYNCOPATE = $SYNCOPATE" +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 + # ------------------------------------------------------------------------ # Syncopate: the Maven 1.x repository # ------------------------------------------------------------------------ -- 2.39.5