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:
authorRodrigo Moya <rodrigo.moya@xamarin.com>2019-04-25 16:22:37 +0300
committerRodrigo Moya <rodrigo.moya@xamarin.com>2019-04-25 16:22:37 +0300
commit63fe76893ce92bfa80cf5b5efe3ad5132e968963 (patch)
tree93133a9d8ab112c9dd919701b1501eeddb73c0dc /Makefile
parent1a2643dfaad64941befb2487d5c8d29fe96035eb (diff)
[Build] Fix breakage when $PATH includes paths with espaces
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8d446a8e56..acaba31f05 100644
--- a/Makefile
+++ b/Makefile
@@ -53,13 +53,14 @@ CONFIG_MAKE=$(top_srcdir)/config.make
%-recursive: $(CONFIG_MAKE)
@export PKG_CONFIG_PATH="`pwd`/$(top_srcdir)/local-config:$(prefix)/lib/pkgconfig:$(prefix)/share/pkgconfig:$$PKG_CONFIG_PATH"; \
export MONO_GAC_PREFIX="$(prefix):$$MONO_GAC_PREFIX"; \
+ export PATH="$$PATH:/Library/Frameworks/Mono.framework/Versions/Current/bin"; \
set . $$MAKEFLAGS; final_exit=:; \
case $$2 in --unix) shift ;; esac; \
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; };;\
+ .) $(MAKE) $*-local || { final_exit="exit 1"; $$dk; };;\
+ *) (cd $$dir && $(MAKE) $*) || { final_exit="exit 1"; $$dk; };;\
esac \
done
$$final_exit