From f0cb3f50e4cf170abc1edb5a0d6d46d5b68dbe70 Mon Sep 17 00:00:00 2001 From: "W. van den Akker" Date: Tue, 14 Nov 2017 08:42:17 +0100 Subject: [PATCH] Fix for copying SYSCONFFILE. Gave a Permission denied on OpenWRT Signed-off-by: W. van den Akker Signed-off-by: Tom Eastep --- Shorewall-lite/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall-lite/install.sh b/Shorewall-lite/install.sh index a485c5304..f9e5418e5 100755 --- a/Shorewall-lite/install.sh +++ b/Shorewall-lite/install.sh @@ -492,7 +492,7 @@ ln -sf shorewall ${DESTDIR}${SBINDIR}/${PRODUCT} if [ -n "$SYSCONFFILE" -a -f "$SYSCONFFILE" -a ! -f ${DESTDIR}${SYSCONFDIR}/${PRODUCT} ]; then [ ${DESTDIR} ] && make_parent_directory ${DESTDIR}${SYSCONFDIR} 0755 - install_file ${SYSCONFFILE} ${DESTDIR}${SYSCONFDIR}/${PRODUCT} 0640 + install_file ${SYSCONFFILE} ${DESTDIR}${SYSCONFDIR}/${PRODUCT}/${SYSCONFFILE} 0640 echo "$SYSCONFFILE file installed in ${DESTDIR}${SYSCONFDIR}/${PRODUCT}" fi