]> source.dussan.org Git - archiva.git/commitdiff
o display the settings and provide an interactive debug mode, use batch mode for...
authorJason van Zyl <jvanzyl@apache.org>
Mon, 16 Oct 2006 17:21:48 +0000 (17:21 +0000)
committerJason van Zyl <jvanzyl@apache.org>
Mon, 16 Oct 2006 17:21:48 +0000 (17:21 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@464573 13f79535-47bb-0310-9956-ffa450edef68

maven-meeper/src/bin/synchronize.sh

index f6a6de401e033423da7884efc2671ddf3ec74cc9..9132a7db49942b39e5e719834e11a1e05789f7a7 100755 (executable)
@@ -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 
 # ------------------------------------------------------------------------