aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2018-05-23 09:39:15 +0200
committerLukas Larsson <[email protected]>2018-05-23 09:39:15 +0200
commit6365a98f3a256adb62a05cc8644fa39b0aaf963f (patch)
tree47a5215ed5333e1715d2c0cab40dde861e2f4784 /erts
parent26acf6e6abd3112f2a984f85dc627594a214073b (diff)
downloadotp-6365a98f3a256adb62a05cc8644fa39b0aaf963f.tar.gz
otp-6365a98f3a256adb62a05cc8644fa39b0aaf963f.tar.bz2
otp-6365a98f3a256adb62a05cc8644fa39b0aaf963f.zip
make: Don't call mkdir with empty argument
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/Makefile.in2
-rw-r--r--erts/lib_src/Makefile.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/erts/emulator/Makefile.in b/erts/emulator/Makefile.in
index 221cf84622..054692819e 100644
--- a/erts/emulator/Makefile.in
+++ b/erts/emulator/Makefile.in
@@ -517,7 +517,9 @@ release_docs_spec:
# Generated source code. Put in $(TARGET) directory
#
+ifneq ($(strip $(CREATE_DIRS)),)
_create_dirs := $(shell mkdir -p $(CREATE_DIRS))
+endif
# has to be run after _create_dirs
diff --git a/erts/lib_src/Makefile.in b/erts/lib_src/Makefile.in
index 48660f7c71..dfaf664a18 100644
--- a/erts/lib_src/Makefile.in
+++ b/erts/lib_src/Makefile.in
@@ -334,7 +334,7 @@ ETHREAD_LIB=
endif
-ifneq ($(CREATE_DIRS),)
+ifneq ($(strip $(CREATE_DIRS)),)
_create_dirs := $(shell mkdir -p $(CREATE_DIRS))
endif