aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:24 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:24 -0400
commit5f382f6d09b3c82ec8f1bd9ffaa303362467bf73 (patch)
tree4f58197956536e75c4df2f7e7f0291f6221f6454
parent7cf895929c419d3396c6346fdedb03ae6d7c2bab (diff)
audio/pd: Fixed for bash4.
-rw-r--r--audio/pd/pd.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/pd/pd.SlackBuild b/audio/pd/pd.SlackBuild
index b0340df9e6a7..60e6480eca18 100644
--- a/audio/pd/pd.SlackBuild
+++ b/audio/pd/pd.SlackBuild
@@ -57,12 +57,8 @@ cd src
make install DESTDIR=$PKG
cd -
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
- 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 INSTALL.txt README.txt LICENSE.txt src/CHANGELOG.txt \