* Purity fixes, courtesy of NixOS :-)

svn path=/nixpkgs/trunk/; revision=3675
This commit is contained in:
Eelco Dolstra 2005-08-24 09:21:37 +00:00
parent 9a4f2b9036
commit 49220563df
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
set -e
PATH=$coreutils/bin
PATH=$staticTools/bin
mkdir $out

View File

@ -3,7 +3,7 @@ cd $out
chmod -R +w .
find . -type f | while read fn; do
$extra2/bin/cat $fn | $extra4/bin/sed "s|/nix/store/[a-z0-9]*-|/nix/store/ffffffffffffffffffffffffffffffff-|g" > $fn.tmp
cat $fn | sed "s|/nix/store/[a-z0-9]*-|/nix/store/ffffffffffffffffffffffffffffffff-|g" > $fn.tmp
if test -x $fn; then chmod +x $fn.tmp; fi
mv $fn.tmp $fn
done