- replace all */ruby with /usr/bin/ruby
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=13
This commit is contained in:
parent
0d05c4d098
commit
e96f0e3337
@ -52,6 +52,7 @@ fi
|
|||||||
|
|
||||||
if [ -d "$buildroot" ]; then
|
if [ -d "$buildroot" ]; then
|
||||||
find $buildroot -type f -perm /u+x | while read file; do
|
find $buildroot -type f -perm /u+x | while read file; do
|
||||||
sed -i -e 's,#!/usr/local/bin/ruby,#!/usr/bin/ruby,' "$file"
|
# TODO: scripts in ruby/1.9.1 should call ruby1.9 for consistency
|
||||||
|
sed -i -e 's,^#!/usr/bin/env ruby,#!/usr/bin/ruby,; s,^#! *[^ ]*/ruby,#!/usr/bin/ruby,' "$file"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 30 10:39:16 UTC 2012 - coolo@suse.com
|
||||||
|
|
||||||
|
- replace all */ruby with /usr/bin/ruby
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 27 14:03:05 UTC 2012 - coolo@suse.com
|
Fri Jul 27 14:03:05 UTC 2012 - coolo@suse.com
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user