diff options
author | Jason van Zyl <jvanzyl@apache.org> | 2006-11-05 01:21:15 +0000 |
---|---|---|
committer | Jason van Zyl <jvanzyl@apache.org> | 2006-11-05 01:21:15 +0000 |
commit | 9d6a5070cacda4bb41f4982073b7ad25f6eb689d (patch) | |
tree | 78eccdba0213cd74b7ed40e5a0d81a7406147d3b /maven-meeper | |
parent | eeb2f9978512ea76634ab550d01f652eb58931c0 (diff) | |
download | archiva-9d6a5070cacda4bb41f4982073b7ad25f6eb689d.tar.gz archiva-9d6a5070cacda4bb41f4982073b7ad25f6eb689d.zip |
o pass the synchronize.properties around to other scripts
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@471312 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'maven-meeper')
-rwxr-xr-x | maven-meeper/src/bin/synchronize.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/maven-meeper/src/bin/synchronize.sh b/maven-meeper/src/bin/synchronize.sh index 6d78d48c1..e06d30879 100755 --- a/maven-meeper/src/bin/synchronize.sh +++ b/maven-meeper/src/bin/synchronize.sh @@ -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 @@ if [ ! -z "$RUNNING" ]; then exit 1 fi -. synchronize.properties +. $syncProperties echo "Using the following settings:" echo "CENTRAL_HOST = $CENTRAL_HOST" @@ -55,7 +58,7 @@ retval=$?; if [ $retval != 0 ]; then exit $retval; fi 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 @@ echo "Synchronizing to ibiblio" ( 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 |