diff options
author | slakmagik <slakmagik@gmail.com> | 2011-01-28 23:46:06 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-03-01 09:53:59 -0600 |
commit | cd4cf90c0a77ae563adbb7b44c16d09790600931 (patch) | |
tree | 1c3a77be0decf94a65a88b462d9332f4513b67ff /system/heirloom-sh/heirloom-sh.SlackBuild | |
parent | 260c02d367ca969d43eed12af0561169df05b613 (diff) | |
download | slackbuilds-cd4cf90c0a77ae563adbb7b44c16d09790600931.tar.gz |
system/heirloom-sh: Miscellaneous cleanups
Comment why there's no strip code. Fix indentation. Remove trailing
empty line from the info file.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/heirloom-sh/heirloom-sh.SlackBuild')
-rw-r--r-- | system/heirloom-sh/heirloom-sh.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/heirloom-sh/heirloom-sh.SlackBuild b/system/heirloom-sh/heirloom-sh.SlackBuild index 86ba98b12b..8e8c518f4a 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 |