aboutsummaryrefslogtreecommitdiff
path: root/system/heirloom-sh/heirloom-sh.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/heirloom-sh/heirloom-sh.SlackBuild')
-rw-r--r--system/heirloom-sh/heirloom-sh.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/heirloom-sh/heirloom-sh.SlackBuild b/system/heirloom-sh/heirloom-sh.SlackBuild
index 86ba98b12b35f..8e8c518f4a6e8 100644
--- a/system/heirloom-sh/heirloom-sh.SlackBuild
+++ b/system/heirloom-sh/heirloom-sh.SlackBuild
@@ -59,11 +59,12 @@ sed -i~ "/^CFLAGS=/s:-O:$SLKCFLAGS:;/^ROOT=/s:$:$PKG:" makefile
# 3. make static changes to the manpage with sed (easier maintenance)
sed -i~ 's/\<sh\>/h&/g;s/\<Sh\>/Hsh/g;s/\\fBsh\\fR/\\fBhsh\\fR/' sh.1
+# the makefile autostrips
make install
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l); do
- ln -s $(readlink $i).gz $i.gz; rm $i
+ ln -s $(readlink $i).gz $i.gz; rm $i
done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION