Skip to content

Commit

Permalink
Make positional args to set env-vars instead of internal vars.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Pearson committed Dec 17, 2015
1 parent 50fa902 commit 720240f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ parse_args() {
shift
elif [[ -n ${1} ]]; then
# Set positional args
deploy_directory=$1
GIT_DEPLOY_DIR=$1
if [[ -n $2 ]]; then
deploy_branch=$2
GIT_DEPLOY_BRANCH=$2
fi
if [[ -n $3 ]]; then
repo=$3
GIT_DEPLOY_REPO=$3
fi
break
else
Expand Down

0 comments on commit 720240f

Please sign in to comment.