From d3ce7b8355eed4011e1a7c224a7301dada44f32c Mon Sep 17 00:00:00 2001 From: Matt Palmer Date: Fri, 7 Nov 2014 20:32:09 +1100 Subject: [PATCH] Export REPO along with everything else --- functions.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/functions.sh b/functions.sh index 5d85d0d..4c6e14a 100644 --- a/functions.sh +++ b/functions.sh @@ -118,12 +118,13 @@ exec_hook_file() { fi if [ -x "$hook_file" ]; then - env - PATH="${PATH}" \ - APP_ENV="${APP_ENV}" \ - ROOT="${ROOT}" \ - RELEASE="${RELEASE}" \ - NEWREV="${NEWREV}" \ - OLDREV="${OLDREV}" \ + env - PATH="$PATH" \ + APP_ENV="$APP_ENV" \ + ROOT="$ROOT" \ + REPO="$REPO" \ + RELEASE="$RELEASE" \ + NEWREV="$NEWREV" \ + OLDREV="$OLDREV" \ "$hook_file" elif [ -e "$hook_file" ]; then cat <&2