Accepting request 305056 from home:darix:ruby
- Fix patching of the shebang line OBS-URL: https://build.opensuse.org/request/show/305056 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=87
This commit is contained in:
parent
74c83c31c9
commit
a85e941c04
@ -227,7 +227,7 @@ Find.find(File.join(options.buildroot, gemdir)) do |fname|
|
||||
if File.file?(fname) && File.executable?(fname)
|
||||
next if fname =~ /\.so$/
|
||||
GILogger.info "Looking at #{fname}"
|
||||
patchfile(fname, /^(#!\s*.*?)(\s+-.*)?$/, "#!#{ruby} \2")
|
||||
patchfile(fname, /^(#!\s*.*(?:rub|rbx).*?)(\s+-.*)?$/, "#!#{ruby} \\2")
|
||||
else
|
||||
next
|
||||
end
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat May 2 11:55:31 UTC 2015 - mrueckert@suse.de
|
||||
|
||||
- Fix patching of the shebang line
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 16 21:45:29 UTC 2015 - mrueckert@suse.de
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user