archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r471312 - /maven/archiva/trunk/maven-meeper/src/bin/synchronize.sh
Date Sun, 05 Nov 2006 01:21:16 GMT
Author: jvanzyl
Date: Sat Nov  4 17:21:15 2006
New Revision: 471312

URL: http://svn.apache.org/viewvc?view=rev&rev=471312
Log:
o pass the synchronize.properties around to other scripts

Modified:
    maven/archiva/trunk/maven-meeper/src/bin/synchronize.sh

Modified: maven/archiva/trunk/maven-meeper/src/bin/synchronize.sh
URL: http://svn.apache.org/viewvc/maven/archiva/trunk/maven-meeper/src/bin/synchronize.sh?view=diff&rev=471312&r1=471311&r2=471312
==============================================================================
--- maven/archiva/trunk/maven-meeper/src/bin/synchronize.sh (original)
+++ maven/archiva/trunk/maven-meeper/src/bin/synchronize.sh Sat Nov  4 17:21:15 2006
@@ -9,6 +9,9 @@
 # 6. Copy the mod_rewrite rules to the Maven 1.x repository @ Ibiblio
 # ------------------------------------------------------------------------
 
+dir=`pwd`
+syncProperties=$dir/synchronize.properties
+
 MODE=$1
 
 PID=$$
@@ -19,7 +22,7 @@
   exit 1
 fi
 
-. synchronize.properties
+. $syncProperties
 
 echo "Using the following settings:"
 echo "CENTRAL_HOST = $CENTRAL_HOST"
@@ -55,7 +58,7 @@
 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
@@ -97,7 +100,7 @@
 
 (
   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



Mime
View raw message