Bug 363000 - protect against spaces in the source directory, r=luser

git-svn-id: svn://10.0.0.236/trunk@216668 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
benjamin%smedbergs.us
2006-12-07 16:36:22 +00:00
parent df34507479
commit c5717f53e9

View File

@@ -418,6 +418,9 @@ CVS = cvs
comma := ,
CWD := $(shell pwd)
ifneq (1,$(words $(CWD)))
$(error The mozilla directory cannot be located in a path with spaces.)
endif
ifeq "$(CWD)" "/"
CWD := /.