summaryrefslogtreecommitdiff
path: root/system/mksh/mksh.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/mksh/mksh.SlackBuild')
-rw-r--r--system/mksh/mksh.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/system/mksh/mksh.SlackBuild b/system/mksh/mksh.SlackBuild
index 5bf80d5a50..b35c8884b6 100644
--- a/system/mksh/mksh.SlackBuild
+++ b/system/mksh/mksh.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for mksh
-# Copyright (c) 2011-2013 Markus Reichelt, Stolberg (Rhld), DE
+# Copyright (c) 2011-2013 Markus Reichelt, Stolberg (Rhld.), DE
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -26,7 +26,7 @@
# Markus Reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
PRGNAM=mksh
-VERSION=${VERSION:-R46}
+VERSION=${VERSION:-R48b}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -96,15 +96,16 @@ CC=$CC \
ginstall -D -m 755 mksh $PKG/bin/mksh
ginstall -D -m 644 ../mksh.1 $PKG/usr/man/man1/mksh.1
-ginstall -D -m 644 ../dot.mkshrc $PKG/etc/skel/.mkshrc
+ginstall -D -m 644 ../dot.mkshrc $PKG/etc/skel/.mkshrc.new
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/TaC-mksh.txt > $PKG/usr/doc/$PRGNAM-$VERSION/TaC-mksh.txt
+cat ../dot.mkshrc > $PKG/usr/doc/$PRGNAM-$VERSION/dot.mkshrc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install