Re: [PATCH] Fix cygwin install issues
- From
- H. Peter Anvin <hpa@zytor.com>
- Date
- Oct 10, 2005, 17:09 UTC
- Message-ID
- <434AA033.60308@zytor.com>
- In-Reply-To
- <7v64s571t5.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 7 quoted lines
> > OK. It is better than dq, and the user can still work it around > like this if she really wanted to: > > make bindir="Anna'\\''s Home/bin" > > I wish we had $(shellquote $(DESTDIR)$(bindir)) in make ;-).
Hmm... let's think about this for a second...
shellquote = '$(subst ','\'',$(1))'
$(call shellquote,$(whatever))
... seems to work just fine.
(No need to worry about ! since Make commands are always /bin/sh.)
-hpa