forked from mirrors/nixpkgs
* Forgotten.
svn path=/nixpkgs/trunk/; revision=2262
This commit is contained in:
parent
ecd2596677
commit
5f3c1f22ce
9
pkgs/stdenv/nix-linux-static/scripts/fix-outpath.sh
Normal file
9
pkgs/stdenv/nix-linux-static/scripts/fix-outpath.sh
Normal file
|
@ -0,0 +1,9 @@
|
|||
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
|
||||
if test -x $fn; then chmod +x $fn.tmp; fi
|
||||
mv $fn.tmp $fn
|
||||
done
|
Loading…
Reference in a new issue