From: Zooko O'Whielacronx Date: Wed, 6 Aug 2008 23:27:42 +0000 (-0700) Subject: setup: don't attempt to escape quote marks, just delete them. Ugly, but it works... X-Git-Url: https://git.rkrishnan.org/tahoe_css?a=commitdiff_plain;h=d44fc9fb888984289827c8af0aca16ab18f294da;p=tahoe-lafs%2Ftahoe-lafs.git setup: don't attempt to escape quote marks, just delete them. Ugly, but it works okay. --- diff --git a/Makefile b/Makefile index a8a076be..d6a038fd 100644 --- a/Makefile +++ b/Makefile @@ -55,10 +55,12 @@ else PP=PYTHONPATH="$(SUPPORTLIB)" endif -# Escape any quote chars in PATH. Note that if they are already escaped then -# the following subst will screw it up and weird parsing errors will -# eventually result. -PATH := $(subst ",\",${PATH}) +# Delete any quote chars in PATH. Note that if the chars were escaped +# (preceded by a back-slash) then the following subst will screw it up and +# weird parsing errors will eventually result. + +PATH := $(subst ",,${PATH}) +PATH := $(subst ',,$(PATH)) TRIALCMD = $(shell PATH="$(PATH):${PWD}/support/bin" $(PP) $(PYTHON) misc/find_trial.py) ifeq ($(TRIALCMD),)