Sintax error fix on shell scripting functions

There was an syntax error on functions file when tried to install
bower

Change-Id: I234b3948f9b138af49c60e6019fd979c594eb2db
This commit is contained in:
Sebastian Marcet 2015-12-18 09:46:37 -03:00
parent 79746e577e
commit 7012876bfc
1 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ function site_init {
php artisan migrate --env=$LARAVEL_ENV
php artisan db:seed --env=$LARAVEL_ENV
# run bower
if [ -f "bower.json' ]; then
if [ ! -f "$target_dir/bower.json" ]; then
bower install --allow-root --config.interactive=false
fi
# activate site
@ -179,7 +179,7 @@ function site_update {
cd $target_dir
php artisan migrate --env=$LARAVEL_ENV
# run bower
if [ -f "bower.json' ]; then
if [ ! -f "$target_dir/bower.json" ]; then
bower install --allow-root --config.interactive=false
fi
# activate site