]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
setup: don't attempt to escape quote marks, just delete them. Ugly, but it works...
authorZooko O'Whielacronx <zooko@zooko.com>
Wed, 6 Aug 2008 23:27:42 +0000 (16:27 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Wed, 6 Aug 2008 23:27:42 +0000 (16:27 -0700)
Makefile

index a8a076be05ee19d64b681d47725f29171d05f2f9..d6a038fda384299e4016de19ac31f4d4f3d880b8 100644 (file)
--- 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),)