summaryrefslogtreecommitdiff
path: root/system/mlterm/mlterm.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:50 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:50 -0400
commitc5707e4e6f6ac279bc5e13476a0a482e33855137 (patch)
treecf5f8bc9a1fba0ac2d81b7b0931bf872dadf6cef /system/mlterm/mlterm.SlackBuild
parent496d199b3b0a8843f0180f59cced16e1d71f6738 (diff)
downloadslackbuilds-c5707e4e6f6ac279bc5e13476a0a482e33855137.tar.gz
system/mlterm: Fixed for bash4.
Diffstat (limited to 'system/mlterm/mlterm.SlackBuild')
-rw-r--r--system/mlterm/mlterm.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/mlterm/mlterm.SlackBuild b/system/mlterm/mlterm.SlackBuild
index 2c6d6cf48c..b37e5ed3a6 100644
--- a/system/mlterm/mlterm.SlackBuild
+++ b/system/mlterm/mlterm.SlackBuild
@@ -62,12 +62,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;