From 37bbcde5665668b6877f4b2bcabd2e59c114073a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 30 Oct 2006 12:57:30 +0000 Subject: [PATCH] * Don't nuke unconditionally. svn path=/nixpkgs/trunk/; revision=6905 --- pkgs/stdenv/linux/make-bootstrap-tools.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/stdenv/linux/make-bootstrap-tools.sh b/pkgs/stdenv/linux/make-bootstrap-tools.sh index 9b3034e3052..49bb5afe477 100644 --- a/pkgs/stdenv/linux/make-bootstrap-tools.sh +++ b/pkgs/stdenv/linux/make-bootstrap-tools.sh @@ -99,7 +99,9 @@ fi rm -rf gcc/lib/gcc/*/*/install-tools rm -rf gcc/lib/gcc/*/*/include/root rm -rf gcc/lib/gcc/*/*/include/linux -nukeRefs gcc/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/bits/mathdef.h +if test -e gcc/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/bits/mathdef.h; then + nukeRefs gcc/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/bits/mathdef.h +fi # Create the glibc tarball.