[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make 3.60: BS/NL mishandled with non-default SHELL
From: |
Andreas Schwab |
Subject: |
make 3.60: BS/NL mishandled with non-default SHELL |
Date: |
Mon, 28 Aug 2006 16:07:37 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
The following makefile causes a syntax error, but works correctly when the
first line is commented out.
$ cat Makefile
SHELL = "/bin/sh"
all:
if :; then \
:; \
fi
$ make
if :; then \
:; \
fi
/bin/sh: -c: line 1: syntax error: unexpected end of file
/bin/sh: line 1: :; \: command not found
/bin/sh: -c: line 2: syntax error near unexpected token `fi'
/bin/sh: -c: line 2: `fi'
make: *** [all] Error 2
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- make 3.60: BS/NL mishandled with non-default SHELL,
Andreas Schwab <=