diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-10-21 02:00:11 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-10-21 02:00:11 +0000 |
commit | 6769c61b1eb52e787aace0f9ab52eb19b8a2a389 (patch) | |
tree | 1e7917003e487425e3facbe83142649d3b824655 /Makefile | |
parent | f194083091aecf1cf355ae36d27fc07eb01d2c95 (diff) |
Makefile: add a check to bail out early when the path to the openwrt directory contains spaces (#12344)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33884 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -11,6 +11,10 @@ LC_ALL:=C LANG:=C export TOPDIR LC_ALL LANG +empty:= +space:= $(empty) $(empty) +$(if $(findstring $(space),$(TOPDIR)),$(error ERROR: The path to the OpenWrt directory must not include any spaces)) + world: include $(TOPDIR)/include/host.mk |