summaryrefslogtreecommitdiff
path: root/system/dosemu/dosemu.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:27 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:27 -0400
commit5d1d059e56040daf6d52a436fec6de1116cdfd31 (patch)
tree694f0037bb0ece69da3a542ea73f5658dbe6b73c /system/dosemu/dosemu.SlackBuild
parentd951b75edd25863ccf10ba0a4072f03816a28403 (diff)
downloadslackbuilds-5d1d059e56040daf6d52a436fec6de1116cdfd31.tar.gz
system/dosemu: Fixed for bash4.
Diffstat (limited to 'system/dosemu/dosemu.SlackBuild')
-rw-r--r--system/dosemu/dosemu.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/dosemu/dosemu.SlackBuild b/system/dosemu/dosemu.SlackBuild
index 4aadadd71c..3843185d98 100644
--- a/system/dosemu/dosemu.SlackBuild
+++ b/system/dosemu/dosemu.SlackBuild
@@ -77,12 +77,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 {} \;