cleanup symlink fix
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 7 Jun 2013 08:27:44 +0000 (10:27 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 7 Jun 2013 08:27:44 +0000 (10:27 +0200)
rpm/rvm-ruby.spec

index 801cc13..b1e581d 100644 (file)
@@ -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