mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
Checking for fucking spaces in the directory name
This commit is contained in:
@@ -27,11 +27,15 @@ MAKEFLAGS += --no-print-directory
|
||||
endif
|
||||
|
||||
PAPARAZZI_SRC=$(shell pwd)
|
||||
empty=
|
||||
space=$(empty) $(empty)
|
||||
ifneq ($(findstring $(space),$(PAPARAZZI_SRC)),)
|
||||
$(error No fucking spaces allowed in the current directory name)
|
||||
endif
|
||||
ifeq ($(PAPARAZZI_HOME),)
|
||||
PAPARAZZI_HOME=$(PAPARAZZI_SRC)
|
||||
endif
|
||||
|
||||
|
||||
LIB=sw/lib
|
||||
AIRBORNE=sw/airborne
|
||||
COCKPIT=sw/ground_segment/cockpit
|
||||
|
||||
Reference in New Issue
Block a user