lpgcc was too noisy in some cases
authorPatrick Georgi <patrick.georgi@secunet.com>
Mon, 14 Feb 2011 19:24:37 +0000 (19:24 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Mon, 14 Feb 2011 19:24:37 +0000 (19:24 +0000)
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6357 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

payloads/libpayload/bin/lpgcc

index 826e4989419d4c5139cf8893d70d9a5c596779b1..57015d5f499a845318b14fdc23fb191d23e614fa 100755 (executable)
 # let's not recurse.
 # This is a hack, I know, but it makes sure that really simple user errors
 # don't fork-bomb your machine.
-echo "CC = $CC"
+echo "CC = $CC"
 
+if [ -n "$CC" ]; then
 b=`basename $CC`
 if [ "$b" = "lpgcc" ]; then
 CC=""
 fi
+fi