From 505a857e5503df7fc6a142570a3234eaca65aab0 Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Mon, 6 Dec 2004 19:00:06 +0000 Subject: [PATCH] don't match a trailing slash svn path=/nixpkgs/branches/nixos-pkgs/; revision=1838 --- pkgs/stdenv/nix-linux-static/scripts/add-symlink.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/stdenv/nix-linux-static/scripts/add-symlink.sh b/pkgs/stdenv/nix-linux-static/scripts/add-symlink.sh index 989a550c7575..c73f26cc87b3 100644 --- a/pkgs/stdenv/nix-linux-static/scripts/add-symlink.sh +++ b/pkgs/stdenv/nix-linux-static/scripts/add-symlink.sh @@ -4,5 +4,5 @@ $extra2/bin/chmod u+w $out/include cd $out $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 {} \; || true -$extra2/bin/cat ./bin/catchsegv | $extra4/bin/sed "s|/nix/store/[a-z0-9]*-glibc/|$out|g" > ./bin/catchsegv +$extra2/bin/cat ./bin/catchsegv | $extra4/bin/sed "s|/nix/store/[a-z0-9]*-glibc|$out|g" > ./bin/catchsegv $extra3/bin/find . -not -type l -exec $extra2/bin/chmod u-w {} \;