Commit 706403fc264f783a6c24c47780eddc20cc409cfd
1 parent
b326d84e
Exists in
master
and in
29 other branches
plugins: fix dependency check when not called from $NOOSFERO_DIR
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
script/noosfero-plugins
| ... | ... | @@ -112,7 +112,7 @@ _enable(){ |
| 112 | 112 | dependencies_file="$source/dependencies.rb" |
| 113 | 113 | if [ -e $source/Gemfile ]; then |
| 114 | 114 | gemfile=$(mktemp --tmpdir=.) |
| 115 | - cat Gemfile $source/Gemfile > $gemfile | |
| 115 | + cat $NOOSFERO_DIR/Gemfile $source/Gemfile > $gemfile | |
| 116 | 116 | if ! RUBYOPT='' BUNDLE_GEMFILE="$gemfile" bundle --local --quiet; then |
| 117 | 117 | dependencies_ok=false |
| 118 | 118 | fi | ... | ... |