aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason van Zyl <jvanzyl@apache.org>2006-10-11 22:10:07 +0000
committerJason van Zyl <jvanzyl@apache.org>2006-10-11 22:10:07 +0000
commit92b7375f66b6cda876f605740e9cc6e53374b83e (patch)
tree15b6e170933f9aff812395f25a6b3bca4fa27418
parente1fe310ebc00e2eca81aafb00ccd9e544e79efd7 (diff)
downloadarchiva-92b7375f66b6cda876f605740e9cc6e53374b83e.tar.gz
archiva-92b7375f66b6cda876f605740e9cc6e53374b83e.zip
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@462997 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--maven-meeper/src/bin/synchronize.properties1
-rwxr-xr-xmaven-meeper/src/bin/synchronize/deploy-ibiblio-htaccess.sh2
2 files changed, 2 insertions, 1 deletions
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