From 76cf09f36262d7e7205b050570cad9f42c98f63e Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Thu, 2 Jul 2020 17:22:43 +0100 Subject: [PATCH] BF: Bug in adjusted hdrinstall --- config/common/rules.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/common/rules.mk b/config/common/rules.mk index 507907e..2214c2a 100644 --- a/config/common/rules.mk +++ b/config/common/rules.mk @@ -125,9 +125,9 @@ hdrinstall: ${INSTALL} -m 0664 $$hdrfile ${dest_INCDIR}/${PROJNAME}/ ; \ elif [ -d $$hdrfile ]; then \ echo ${CP} -r $$hdrfile ${dest_INCDIR}/${PROJNAME}/ ; \ - ${CP} -r $$hdrfile ${dest_INCDIR}/${PROJNAME}/ ; \ - find ${dest_INCDIR}/${PROJNAME}/ -type d -exec chmod 0755 {}\; \ - find ${dest_INCDIR}/${PROJNAME}/ -type f -exec chmod 0644 {}\; \ + ${CP} -r $$hdrfile ${dest_INCDIR}/${PROJNAME}/ ; \ + find ${dest_INCDIR}/${PROJNAME}/ -type d -exec chmod 0755 {} \; ; \ + find ${dest_INCDIR}/${PROJNAME}/ -type f -exec chmod 0644 {} \; ; \ fi; \ done -- GitLab