Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandy Armstrong <sanfordarmstrong@gmail.com>2018-01-09 02:43:40 +0300
committerSandy Armstrong <sanfordarmstrong@gmail.com>2018-01-09 02:44:57 +0300
commit6ba0dabf913a63b515d516da4ef3f1cc87e167cd (patch)
tree5c8ce92dd279760a4f80b62d7e61535bb8963c80 /Makefile
parent41c01702d94ca516cb479cff7b1affd9a886be1e (diff)
Makefile: fix all-recursive when $PATH has spaces
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4581e8c8ce..323914a229 100644
--- a/Makefile
+++ b/Makefile
@@ -35,8 +35,8 @@ CONFIG_MAKE=$(top_srcdir)/config.make
case $$2 in *=*) dk="exit 1" ;; *k*) dk=: ;; *) dk="exit 1" ;; esac; \
for dir in $(SUBDIRS); do \
case $$dir in \
- .) PATH=$(PATH):/Library/Frameworks/Mono.framework/Versions/Current/bin $(MAKE) $*-local || { final_exit="exit 1"; $$dk; };;\
- *) (cd $$dir && PATH=$(PATH):/Library/Frameworks/Mono.framework/Versions/Current/bin $(MAKE) $*) || { final_exit="exit 1"; $$dk; };;\
+ .) PATH="$(PATH):/Library/Frameworks/Mono.framework/Versions/Current/bin" $(MAKE) $*-local || { final_exit="exit 1"; $$dk; };;\
+ *) (cd $$dir && PATH="$(PATH):/Library/Frameworks/Mono.framework/Versions/Current/bin" $(MAKE) $*) || { final_exit="exit 1"; $$dk; };;\
esac \
done
$$final_exit