From 40c5dc224483f8a3b008e874b823a2334d8f3213 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:34:42 -0400 Subject: games/stella: Fixed for bash4. --- games/stella/stella.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'games/stella/stella.SlackBuild') diff --git a/games/stella/stella.SlackBuild b/games/stella/stella.SlackBuild index 00370a4f1e..59777faa8f 100644 --- a/games/stella/stella.SlackBuild +++ b/games/stella/stella.SlackBuild @@ -54,12 +54,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 mkdir -p $PKG/usr/share/{applications,pixmaps} mv -f $PKG/usr/share/$PRGNAM/applications/stella.desktop $PKG/usr/share/applications -- cgit v1.2.3