diff options
author | Alexander Sulfrian <alex@spline.inf.fu-berlin.de> | 2015-01-28 21:22:47 +0100 |
---|---|---|
committer | wartung <wartung@vm-staticweb.spline.inf.fu-berlin.de> | 2015-01-28 21:22:47 +0100 |
commit | 5bec9ff93149c42eb9f53b74531a269cc953abaa (patch) | |
tree | b680ac1f0c3fa7e01da2eacffd6a26805e11278f | |
parent | f579accaf9b21dbd09e6d08af69d9635e0cdd638 (diff) | |
download | hooks-5bec9ff93149c42eb9f53b74531a269cc953abaa.tar.gz hooks-5bec9ff93149c42eb9f53b74531a269cc953abaa.tar.bz2 hooks-5bec9ff93149c42eb9f53b74531a269cc953abaa.zip |
post-receive.cyrax-build: Use new URL for branches.
-rwxr-xr-x | post-receive.cyrax-build | 4 |
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}" |