Module Name: src
Committed By: plunky
Date: Fri Jun 3 08:56:39 UTC 2011
Modified Files:
src/external/bsd/pcc: prepare-import.sh
Log Message:
sterilise the environment before running configure
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/pcc/prepare-import.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/pcc/prepare-import.sh
diff -u src/external/bsd/pcc/prepare-import.sh:1.3 src/external/bsd/pcc/prepare-import.sh:1.4
--- src/external/bsd/pcc/prepare-import.sh:1.3 Fri May 20 16:02:23 2011
+++ src/external/bsd/pcc/prepare-import.sh Fri Jun 3 08:56:39 2011
@@ -46,7 +46,7 @@
echo "====> Creating pcc \"config.h\" file..."
mkdir work/tmp
cd work/tmp
-sh ../pcc/configure
+env -i PATH=/bin:/usr/bin /bin/sh ../pcc/configure
cd ../..
#
# comment out items we provide at build time from Makefile.inc