git://git.onelab.eu
/
rvm-ruby.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb71cbc
)
cleanup symlink fix
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Fri, 7 Jun 2013 08:27:44 +0000
(10:27 +0200)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Fri, 7 Jun 2013 08:27:44 +0000
(10:27 +0200)
rpm/rvm-ruby.spec
patch
|
blob
|
history
diff --git
a/rpm/rvm-ruby.spec
b/rpm/rvm-ruby.spec
index
801cc13
..
b1e581d
100644
(file)
--- a/
rpm/rvm-ruby.spec
+++ b/
rpm/rvm-ruby.spec
@@
-153,10
+153,6
@@
find $br -type f -print0 | xargs -0 sed -i "s,$br,$slashes,g"
# Fix symlinks with bad path
for f in $(find $br -type l |grep "$br"); do
-# original version read like this
-# ln -sfn $(readlink -f $f |sed "s,$br,,") $f
-# however in the PL environment, readlink transforms /longbuildroot into /build,
-# and then sed fails to do its job, so readlink does not seem such a good idea
ln -sfn $(echo $f | sed "s,^$br,,") $f
done