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:
parent
79746e577e
commit
7012876bfc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue