summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:08 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:08 -0400
commit529b6b9b589dfd8458058342a7ba5a971dd50797 (patch)
tree21a37cdd2582f7c25326c1a2be643f982d200def
parente38676934e60c32e4c8e4843963f07f3e83c5bd5 (diff)
downloadslackbuilds-529b6b9b589dfd8458058342a7ba5a971dd50797.tar.gz
audio/herrie: Fixed for bash4.
-rw-r--r--audio/herrie/herrie.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/herrie/herrie.SlackBuild b/audio/herrie/herrie.SlackBuild
index 374465ffd9..9a27401514 100644
--- a/audio/herrie/herrie.SlackBuild
+++ b/audio/herrie/herrie.SlackBuild
@@ -114,12 +114,8 @@ if [ "$SIGNALS" == "YES" ]; then
install -m 0755 $CWD/herriectl $PKG/usr/bin/herriectl
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
-)
+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/doc/$PRGNAM-$VERSION
cp -a COPYING README ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION