right path to chmod

svn path=/nixpkgs/branches/nixos-pkgs/; revision=1834
This commit is contained in:
Armijn Hemel 2004-12-06 17:00:22 +00:00
parent fddd91238a
commit 068fd44898

View File

@ -2,6 +2,6 @@ $extra2/bin/chmod u+w $out/include
(cd $out/include && $extra2/bin/ln -s $extra/include/* .) || exit 1
cd $out
$extra3/bin/find . -not -type l -exec chmod u+w {} \;
$extra3/bin/find . -not -type l -exec $extra2/bin/chmod u+w {} \;
$extra3/bin/find . -exec $patchelf --interpreter $out/lib/ld-linux.so.2 --shrink-rpath {} \;
$extra3/bin/find . -not -type l -exec chmod u-w {} \;
$extra3/bin/find . -not -type l -exec $extra2/bin/chmod u-w {} \;