diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:34:32 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:34:32 -0400 |
commit | fcf0ba41b3a3e7ac8c2f48629b769786e48168fa (patch) | |
tree | 7852f0e23b03bd8892e446534703006e1bfd5072 /games | |
parent | d62357048a0598f8bc18a50d04e358de2cfe03b8 (diff) | |
download | slackbuilds-fcf0ba41b3a3e7ac8c2f48629b769786e48168fa.tar.gz |
games/jag: Fixed for bash4.
Diffstat (limited to 'games')
-rw-r--r-- | games/jag/jag.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/games/jag/jag.SlackBuild b/games/jag/jag.SlackBuild index d16db2b4e7..61ad3b19a0 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 |