diff options
author | Sandy Armstrong <sanfordarmstrong@gmail.com> | 2018-01-09 02:43:40 +0300 |
---|---|---|
committer | Sandy Armstrong <sanfordarmstrong@gmail.com> | 2018-01-09 02:44:57 +0300 |
commit | 6ba0dabf913a63b515d516da4ef3f1cc87e167cd (patch) | |
tree | 5c8ce92dd279760a4f80b62d7e61535bb8963c80 /Makefile | |
parent | 41c01702d94ca516cb479cff7b1affd9a886be1e (diff) |
Makefile: fix all-recursive when $PATH has spaces
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |