Skip to content

Commit

Permalink
Makefile: add a check to bail out early when the path to the openwrt …
Browse files Browse the repository at this point in the history
…directory contains spaces (openwrt#12344)

SVN-Revision: 33884
  • Loading branch information
Felix Fietkau committed Oct 21, 2012
1 parent f1f388d commit 43f34a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 43f34a9

Please sign in to comment.