aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:16 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:16 -0400
commit75fc9dc007c869a377d2471d8a2bfdeb462ffdd5 (patch)
treeaa0e0182b8aeca258e24ac92d837f606e3e35190
parent833cc4bd03cd9f46dcd11e214c4b6ed618e8051d (diff)
system/herculesstudio: Fixed for bash4.
-rw-r--r--system/herculesstudio/herculesstudio.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/herculesstudio/herculesstudio.SlackBuild b/system/herculesstudio/herculesstudio.SlackBuild
index f946aa331ee7b..b5a39750cd533 100644
--- a/system/herculesstudio/herculesstudio.SlackBuild
+++ b/system/herculesstudio/herculesstudio.SlackBuild
@@ -52,12 +52,8 @@ qmake
make
make install INSTALL_ROOT=$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
# Copy icon & desktop file to package
mkdir -p $PKG/usr/share/{applications,pixmaps}