summaryrefslogtreecommitdiff
path: root/audio/tagtool
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:31 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:31 -0400
commit8a5b8ca928c0b590592b9bfc504b62ddf4493131 (patch)
tree63a940c82f84b53e29888f2a46098145b2635d9a /audio/tagtool
parent910cb7dd25c81ed33c4a8dab2ab0c35e3ad95848 (diff)
downloadslackbuilds-8a5b8ca928c0b590592b9bfc504b62ddf4493131.tar.gz
audio/tagtool: Fixed for bash4.
Diffstat (limited to 'audio/tagtool')
-rw-r--r--audio/tagtool/tagtool.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/tagtool/tagtool.SlackBuild b/audio/tagtool/tagtool.SlackBuild
index a97867f8eb..ff31ebb80f 100644
--- a/audio/tagtool/tagtool.SlackBuild
+++ b/audio/tagtool/tagtool.SlackBuild
@@ -46,12 +46,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( 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 ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO \