aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:32 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:32 -0400
commitfcf0ba41b3a3e7ac8c2f48629b769786e48168fa (patch)
tree7852f0e23b03bd8892e446534703006e1bfd5072
parentd62357048a0598f8bc18a50d04e358de2cfe03b8 (diff)
games/jag: Fixed for bash4.
-rw-r--r--games/jag/jag.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/jag/jag.SlackBuild b/games/jag/jag.SlackBuild
index d16db2b4e76da..61ad3b19a066b 100644
--- a/games/jag/jag.SlackBuild
+++ b/games/jag/jag.SlackBuild
@@ -70,12 +70,8 @@ if [ "${JAG_EDITOR:-no}" == "yes" ]; then
cd ..
fi
-( 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
mkdir -p $PKG/usr/share/{applications,pixmaps}
install -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications