From f579accaf9b21dbd09e6d08af69d9635e0cdd638 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 28 Jan 2015 21:12:43 +0100 Subject: post-receive.cyrax-build: Remove trailing whitespaces. --- post-receive.cyrax-build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/post-receive.cyrax-build b/post-receive.cyrax-build index fcb816d..8a2ebef 100755 --- a/post-receive.cyrax-build +++ b/post-receive.cyrax-build @@ -13,7 +13,7 @@ while read old new ref ; do TARGET_DIR="${WEB_BASE}/branches.spline.de/htdocs/" URL="http://branches.spline.de/${BRANCH}/" RELATIVE="${BRANCH}" - + if [ "${new}" = "0000000000000000000000000000000000000000" ]; then rm -rf "${TARGET_DIR}/${BRANCH}/" exit 0 @@ -31,11 +31,11 @@ while read old new ref ; do . /home/wartung/cyrax_env/bin/activate mkdir -p "${TARGET_TMP_DIR}" cyrax -q -d ${TARGET_TMP_DIR} ${TMP_DIR} - + mkdir -p "${TARGET_DIR}/${RELATIVE}/" rm -rf "${TARGET_DIR}/${RELATIVE}/" mv "${TARGET_TMP_DIR}/${RELATIVE}/" "${TARGET_DIR}/${RELATIVE}/" - + rm -rf "${TMP_DIR}" rm -rf "${TARGET_TMP_DIR}" -- cgit v1.2.3-1-g7c22