Skip to content

Commit

Permalink
Export REPO along with everything else
Browse files Browse the repository at this point in the history
  • Loading branch information
mpalmer committed Nov 7, 2014
1 parent 07bfcd0 commit d3ce7b8
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOF >&2
Expand Down

0 comments on commit d3ce7b8

Please sign in to comment.