From b28f5df6359e82ba005d9efacdf8134ebbe6d68c Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Mon, 29 Jun 2015 15:50:12 -0400 Subject: [PATCH] alter deploy --- bower.json | 1 - deploy.sh | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bower.json b/bower.json index 733c46a..6a17975 100644 --- a/bower.json +++ b/bower.json @@ -11,7 +11,6 @@ "bootstrap": "~3.3.5", "mustache": "~2.1.2", "jquery-rss": "~1.5.1", - "bower": "*", "install": "~1.0.4", "jquery.easing": "~1.3.1", "lodestoneapi.min": "http://xivsync.com/lodestoneapi.min.js", diff --git a/deploy.sh b/deploy.sh index 60eba44..66ac884 100644 --- a/deploy.sh +++ b/deploy.sh @@ -118,11 +118,13 @@ if [ -e "$DEPLOYMENT_TARGET/package.json" ]; then fi # 4. Install bower packages -if [ -e "$DEPLOYMENT_SOURCE/bower.json" ]; then +if [ -e "$DEPLOYMENT_TARGET/bower.json" ]; then + cd "$DEPLOYMENT_TARGET" eval $NPM_CMD install bower exitWithMessageOnError "installing bower failed" ./node_modules/.bin/bower install exitWithMessageOnError "bower failed" + cd - > /dev/null fi