summaryrefslogtreecommitdiff
path: root/audio/aften/aften.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/aften/aften.SlackBuild')
-rw-r--r--audio/aften/aften.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/audio/aften/aften.SlackBuild b/audio/aften/aften.SlackBuild
index 68e55ccaac..0f16e46e01 100644
--- a/audio/aften/aften.SlackBuild
+++ b/audio/aften/aften.SlackBuild
@@ -68,10 +68,8 @@ if [ "$LIBDIRSUFFIX" = "64" ]; then
mv $PKG/usr/lib $PKG/usr/lib64
fi
-( 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
cd $TMP/$PRGNAM-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION