Bug fix because cd working_dir hasn't been correct.
Summary: Bug fix because cd working_dir hasn't been correct. Reviewers: teon.banek Reviewed By: teon.banek Subscribers: pullbot, buda Differential Revision: https://phabricator.memgraph.io/D416
This commit is contained in:
parent
2951b6bdcf
commit
b1536ea1ec
@ -8,13 +8,13 @@ if [ "$( which curl )" == "" ] || [ "$( which php )" == "" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd ${working_dir}
|
||||
generator="couscous.phar"
|
||||
|
||||
# download the generator if it's not already downloaded
|
||||
if [ ! -f ${working_dir}/${generator} ]; then
|
||||
cd ${working_dir}
|
||||
if [ ! -f ${generator} ]; then
|
||||
curl -OS http://couscous.io/${generator}
|
||||
fi
|
||||
|
||||
# run the preview
|
||||
php ${working_dir}/${generator} preview
|
||||
php ${generator} preview
|
||||
|
Loading…
Reference in New Issue
Block a user