From: Arran Cudbard-Bell Date: Sun, 18 Nov 2012 16:58:11 +0000 (+0000) Subject: install-sh -d barfs if the directory has a trailing slash X-Git-Tag: release_3_0_0_beta1~1556 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ce5eb96718940882dfebfe191458393f2803784;p=thirdparty%2Ffreeradius-server.git install-sh -d barfs if the directory has a trailing slash --- diff --git a/src/include/all.mk b/src/include/all.mk index c3e89634dc8..ae52bb012af 100644 --- a/src/include/all.mk +++ b/src/include/all.mk @@ -1,5 +1,4 @@ # -# Makefile # # Version: $Id$ # @@ -60,7 +59,7 @@ install.src.include: $(addprefix ${SRC_INCLUDE_DIR}/,${HEADERS}) # install the headers by re-writing the local files ${SRC_INCLUDE_DIR}/%.h: ${top_srcdir}/src/include/%.h @echo INSTALL $(notdir $<) - @$(INSTALL) -d -m 755 $(dir $@) + @$(INSTALL) -d -m 755 `echo $(dir $@) | sed 's/\/$$/'` @sed 's/^#include $@ @chmod 644 $@