mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 04:57:54 +00:00
setup: don't attempt to escape quote marks, just delete them. Ugly, but it works okay.
This commit is contained in:
parent
960a648d5b
commit
d44fc9fb88
10
Makefile
10
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),)
|
||||
|
Loading…
Reference in New Issue
Block a user