scripts/cpp
Andreas Schwab
schwab@suse.de
Fri Jan 11 01:39:00 GMT 2002
This fixes the missing quotes in scripts/cpp.
2002-01-11 Andreas Schwab <schwab@suse.de>
* scripts/cpp: Fix quoting and add sanity check.
--- scripts/cpp.~1.2.~ Thu Dec 6 10:20:25 2001
+++ scripts/cpp Fri Jan 11 10:34:56 2002
@@ -15,8 +15,12 @@
fi
fi
fi
+if test -z "$cpp"; then
+ echo "cpp not found" >&2
+ exit 1
+fi
-exec $cpp $*
+exec "$cpp" ${1+"$@"}
Local Variables:
mode: sh
End:
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-904229 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Libc-hacker
mailing list