diff options
Diffstat (limited to 'find-provides.in')
-rwxr-xr-x | find-provides.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/find-provides.in b/find-provides.in index df7bfb7..eedf40c 100755 --- a/find-provides.in +++ b/find-provides.in @@ -127,7 +127,7 @@ fi # # --- Ruby gems -[ -x @RPMVENDORDIR@/rubygems.rb -a -n "$rubygemlist" ] && +[ -x /usr/bin/ruby -a -x @RPMVENDORDIR@/rubygems.rb -a -n "$rubygemlist" ] && echo $rubygemlist | tr '[:blank:]' \\n | @RPMVENDORDIR@/rubygems.rb --provides | sort -u \ && test ${PIPESTATUS[2]} -ne 0 && echo 'error: @RPMVENDORDIR@/rubygems.rb failed' >&2 && exit 1 |