- call ruby with -x from shell wrappers otherwise we run into an

endless loop

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=84
This commit is contained in:
Marcus Rückert 2015-03-12 16:17:39 +00:00 committed by Git OBS Bridge
parent abcd646b5a
commit 0740808b1d
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 12 16:17:20 UTC 2015 - mrueckert@suse.de
- call ruby with -x from shell wrappers otherwise we run into an
endless loop
-------------------------------------------------------------------
Thu Jan 15 10:59:59 UTC 2015 - dmueller@suse.com

View File

@ -7,7 +7,7 @@ export LANG="en_US.UTF-8"
for ruby in /usr/bin/ruby.* /usr/bin/ruby[0-9].[0-9] ; do
test -x "$ruby" && break
done
exec $ruby $0 "$@"
exec $ruby -x $0 "$@"
=end
#!/usr/bin/ruby