Warning on use of "unset VARIABLE_NOT_SET" in Makefiles on FreeBSD 4.3
It seems that FreeBSD 4.3-RELEASE considers that "unset VARIABLE_NOT_ALREADY_SET" should be an error and sets the shell return code to 1. This causes "make" to exit with an error when executing (for example) unset PYTHONPATH PYTHONHOME PYTHONSTARTUP; \ ./$(PYTHON) $(srcdir)/setup.py build The "unset" is no longer in the CVS version, but is in 2.2a1... uname -a FreeBSD teche 4.3-RELEASE FreeBSD 4.3-RELEASE sh $ unset GGGG $ echo $? 1 GGGG=42 unset GGGG echo $? 0 -- Mark Favas - m.favas@per.dem.csiro.au CSIRO, Private Bag No 5, Wembley, Western Australia 6913, AUSTRALIA
Mark Favas writes:
The "unset" is no longer in the CVS version, but is in 2.2a1...
And don't expect it to return; Neil's implementation of the -E option means we don't have to worry about this any more. (Thanks, Neil!) -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Digital Creations
participants (2)
-
Fred L. Drake, Jr.
-
Mark Favas