summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:00 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:00 -0400
commit0bcef0afa999b36d4a9b94f6fe7be0e28f9be778 (patch)
treebce2ab84cc160de39d5546b4b642c053b235519f
parent78df022232a47ffcf7b29b76d94ea827ad13307b (diff)
downloadslackbuilds-0bcef0afa999b36d4a9b94f6fe7be0e28f9be778.tar.gz
audio/aften: Fixed for bash4.
-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