diff options
-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}" |