Skip to content

Commit

Permalink
source aws env if exists
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelshobbs committed Aug 1, 2015
1 parent 82f4a3f commit 2765451
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/functions
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
set -eo pipefail

[[ -f /root/.profile ]] && source /root/.profile
[[ -f /root/bin/aws.sh ]] && source /root/bin/aws.sh

BASEDIR=$(dirname $0)
PROJECT_ROOT=$(cd ${BASEDIR}/..; pwd)
Expand All @@ -18,6 +19,7 @@ DATE=$(date +%Y-%m-%d)
DEFAULT_RELEASE_ZIP_FILE_NAME="metabase-$BRANCH-$DATE-$COMMITISH.zip"

build_uberjar() {
[[ "$USER" == "root" ]] && export LEIN_ROOT=true
echo "building uberjar"
lein uberjar
}
Expand Down

0 comments on commit 2765451

Please sign in to comment.