diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-09-04 03:31:55 (GMT) |
---|---|---|
committer | MXE <mxe@mxe.cc> | 2014-09-04 03:31:55 (GMT) |
commit | 93f5573c6fd08b9243479d21bbbc2b0b12a7f525 (patch) | |
tree | 7d1b372b7848139951503c5e2cf7aa33d9c7d86b /Makefile | |
parent | 9279bedac05d067229ee3b00f0a193f90082e041 (diff) | |
download | mxe-93f5573c6fd08b9243479d21bbbc2b0b12a7f525.zip mxe-93f5573c6fd08b9243479d21bbbc2b0b12a7f525.tar.gz mxe-93f5573c6fd08b9243479d21bbbc2b0b12a7f525.tar.bz2 |
Explicitly disallow paths with whitespace
It didn't work anyway even before this commit.
Workarounds #490.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -176,6 +176,10 @@ DOWNLOAD_PKG_ARCHIVE = \ echo; \ rm -f '$(PKG_DIR)/$($(1)_FILE)'; ) +ifneq ($(words $(PWD)),1) + $(error GNU Make chokes on paths with spaces) +endif + ifeq ($(IGNORE_SETTINGS),yes) $(info [ignore settings.mk]) else ifeq ($(wildcard $(PWD)/settings.mk),$(PWD)/settings.mk) |