From 50b0e0aa11420e5711d4714cdae09977c3731fbb Mon Sep 17 00:00:00 2001 From: teastep Date: Sun, 19 Nov 2006 02:56:08 +0000 Subject: [PATCH] Correct install commands again for man pages in install.sh git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4928 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/install.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Shorewall/install.sh b/Shorewall/install.sh index 39d1f7f1c..cc9a7b5f6 100755 --- a/Shorewall/install.sh +++ b/Shorewall/install.sh @@ -682,16 +682,18 @@ fi rm -f *.gz -for f in manpages/*.5; do +cd manpages + +for f in *.5; do gzip $f - run_install -D $f.gz ${PREFIX}/usr/share/man/man5/${f#manpage/}.gz - echo "Man page $f.gz installed to /usr/share/man/man5/${f#manpage/}.gz" + run_install -D $f.gz ${PREFIX}/usr/share/man/man5/${f.gz + echo "Man page $f.gz installed to /usr/share/man/man5/${f}.gz" done -for f in manpages/*.8; do +for f in *.8; do gzip $f - run_install -D ${f}.gz ${PREFIX}/usr/share/man/man8/${f#manpage/}.gz - echo "Man page $f.gz installed to /usr/share/man/man8/${f#manpage/}.gz" + run_install -D ${f}.gz ${PREFIX}/usr/share/man/man8/${f}.gz + echo "Man page $f.gz installed to /usr/share/man/man8/${f}.gz" done echo "Man Pages Installed"