From: Thierry Parmentelat Date: Fri, 7 Jun 2013 08:27:44 +0000 (+0200) Subject: cleanup symlink fix X-Git-Tag: rvm-ruby-1.20.10-5~4 X-Git-Url: http://git.onelab.eu/?p=rvm-ruby.git;a=commitdiff_plain;h=32971d0d0969c25acef537de16427e369afce4df cleanup symlink fix --- diff --git a/rpm/rvm-ruby.spec b/rpm/rvm-ruby.spec index 801cc13..b1e581d 100644 --- 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