summaryrefslogtreecommitdiff
path: root/audio/pd/pd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/pd/pd.SlackBuild')
-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 b0340df9e6..60e6480eca 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 \