From 92b7375f66b6cda876f605740e9cc6e53374b83e Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Wed, 11 Oct 2006 22:10:07 +0000 Subject: [PATCH] git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@462997 13f79535-47bb-0310-9956-ffa450edef68 --- maven-meeper/src/bin/synchronize.properties | 1 + maven-meeper/src/bin/synchronize/deploy-ibiblio-htaccess.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/maven-meeper/src/bin/synchronize.properties b/maven-meeper/src/bin/synchronize.properties index 02edce283..361464a32 100644 --- a/maven-meeper/src/bin/synchronize.properties +++ b/maven-meeper/src/bin/synchronize.properties @@ -1,3 +1,4 @@ +export CENTRAL_HOST=maven01.managed.contegix.com export TOOLS_BASE=$HOME/components/maven-meeper/src/bin export SYNC_TOOLS=$TOOLS_BASE/synchronize export SYNCOPATE=$SYNC_TOOLS/syncopate diff --git a/maven-meeper/src/bin/synchronize/deploy-ibiblio-htaccess.sh b/maven-meeper/src/bin/synchronize/deploy-ibiblio-htaccess.sh index ea5529d64..bdfe41888 100755 --- a/maven-meeper/src/bin/synchronize/deploy-ibiblio-htaccess.sh +++ b/maven-meeper/src/bin/synchronize/deploy-ibiblio-htaccess.sh @@ -1,6 +1,6 @@ #!/bin/sh -if [ "`hostname`" == "maven01.managed.contegix.com" ]; then +if [ "`hostname`" == $CENTRAL_HOST ]; then cp ibiblio-htaccess $HOME/repository-staging/to-ibiblio/maven/.htaccess else scp ibiblio-htaccess maven@maven.org:~maven/repository-staging/to-ibiblio/maven/.htaccess