diff options
author | Emmanuel Dreyfus <manu@netbsd.org> | 2015-04-16 19:28:21 +0200 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-04-20 04:29:26 -0700 |
commit | 1fbcecb72ef3525823536b640d244d1e5127a37f (patch) | |
tree | 9f028db0ff61ce4c262d0cc26992eeddbc5c5680 /extras/systemd/Makefile.am | |
parent | f45779067dbba3077b9c64c930fd4ddd1c51243e (diff) |
Fix case mistake for MKDIR_P in Makefiles
Some makefiles used $(mkdir_p) instead of the corectly defined $(MKDIR_P).
The former is substituted as an empty string, leading to possible failures
depending of the user shell tolerance. NetBSD's /bin/sh seems to choke
more easily than Linux's /bin/bash, but if the later does not fail, it
does not created the intended directories anyway.
BUG: 1129939
Change-Id: I8caed4000f3c91cb3a685453848fb854793945ed
Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org>
Reviewed-on: http://review.gluster.org/10276
Tested-by: NetBSD Build System
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'extras/systemd/Makefile.am')
-rw-r--r-- | extras/systemd/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/systemd/Makefile.am b/extras/systemd/Makefile.am index 3fc656b8262..1fbb74593bb 100644 --- a/extras/systemd/Makefile.am +++ b/extras/systemd/Makefile.am @@ -5,7 +5,7 @@ SYSTEMD_DIR = @systemddir@ install-exec-local: @if [ -d $(SYSTEMD_DIR) ]; then \ - $(mkdir_p) $(DESTDIR)$(SYSTEMD_DIR); \ + $(MKDIR_P) $(DESTDIR)$(SYSTEMD_DIR); \ $(INSTALL_PROGRAM) glusterd.service $(DESTDIR)$(SYSTEMD_DIR)/; \ fi |