Commit 549bf1dc1623087ddceb3b42a6dd12be71f5dcc6
Exists in
master
and in
16 other branches
Merge branch 'quick-start-out-of-noosfero-dir' into 'master'
allow run the "quick-start" script from everywhere change current directory to the noosfero's root at the beginning of the script execution See merge request !627
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
script/quick-start
@@ -61,6 +61,8 @@ setup_rubygems_path() { | @@ -61,6 +61,8 @@ setup_rubygems_path() { | ||
61 | fi | 61 | fi |
62 | } | 62 | } |
63 | 63 | ||
64 | +# change current directory to the noosfero's root | ||
65 | +cd "$(dirname $0)/../" | ||
64 | 66 | ||
65 | force_install=false | 67 | force_install=false |
66 | if test "$1" = '--force-install'; then | 68 | if test "$1" = '--force-install'; then |