From 706403fc264f783a6c24c47780eddc20cc409cfd Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Tue, 10 Mar 2015 12:32:12 -0300 Subject: [PATCH] plugins: fix dependency check when not called from $NOOSFERO_DIR --- script/noosfero-plugins | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/noosfero-plugins b/script/noosfero-plugins index 8124f98..328c114 100755 --- a/script/noosfero-plugins +++ b/script/noosfero-plugins @@ -112,7 +112,7 @@ _enable(){ dependencies_file="$source/dependencies.rb" if [ -e $source/Gemfile ]; then gemfile=$(mktemp --tmpdir=.) - cat Gemfile $source/Gemfile > $gemfile + cat $NOOSFERO_DIR/Gemfile $source/Gemfile > $gemfile if ! RUBYOPT='' BUNDLE_GEMFILE="$gemfile" bundle --local --quiet; then dependencies_ok=false fi -- libgit2 0.21.2