summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2015-01-28 21:22:47 +0100
committerwartung <wartung@vm-staticweb.spline.inf.fu-berlin.de>2015-01-28 21:22:47 +0100
commit5bec9ff93149c42eb9f53b74531a269cc953abaa (patch)
treeb680ac1f0c3fa7e01da2eacffd6a26805e11278f
parentf579accaf9b21dbd09e6d08af69d9635e0cdd638 (diff)
downloadhooks-5bec9ff93149c42eb9f53b74531a269cc953abaa.tar.gz
hooks-5bec9ff93149c42eb9f53b74531a269cc953abaa.tar.bz2
hooks-5bec9ff93149c42eb9f53b74531a269cc953abaa.zip
post-receive.cyrax-build: Use new URL for branches.
-rwxr-xr-xpost-receive.cyrax-build4
1 files changed, 2 insertions, 2 deletions
diff --git a/post-receive.cyrax-build b/post-receive.cyrax-build
index 8a2ebef..48cc6a5 100755
--- a/post-receive.cyrax-build
+++ b/post-receive.cyrax-build
@@ -11,7 +11,7 @@ while read old new ref ; do
RELATIVE=""
else
TARGET_DIR="${WEB_BASE}/branches.spline.de/htdocs/"
- URL="http://branches.spline.de/${BRANCH}/"
+ URL="http://spline.de/_branch/${BRANCH}/"
RELATIVE="${BRANCH}"
if [ "${new}" = "0000000000000000000000000000000000000000" ]; then
@@ -34,7 +34,7 @@ while read old new ref ; do
mkdir -p "${TARGET_DIR}/${RELATIVE}/"
rm -rf "${TARGET_DIR}/${RELATIVE}/"
- mv "${TARGET_TMP_DIR}/${RELATIVE}/" "${TARGET_DIR}/${RELATIVE}/"
+ mv "${TARGET_TMP_DIR}/_branch/${RELATIVE}/" "${TARGET_DIR}/${RELATIVE}/"
rm -rf "${TMP_DIR}"
rm -rf "${TARGET_TMP_DIR}"