summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:19 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:19 -0400
commitd84ef23af2a0521e35c4bfe5d7f14765fe3d5efc (patch)
treecb30f78e9eeffa1253be1b751df80a5e972326ca
parentb374886dc339beb961bfc9d8ff818842caef0844 (diff)
downloadslackbuilds-d84ef23af2a0521e35c4bfe5d7f14765fe3d5efc.tar.gz
system/daa2iso: Fixed for bash4.
-rw-r--r--system/daa2iso/daa2iso.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/daa2iso/daa2iso.SlackBuild b/system/daa2iso/daa2iso.SlackBuild
index 3c066f522d..ad83093fa1 100644
--- a/system/daa2iso/daa2iso.SlackBuild
+++ b/system/daa2iso/daa2iso.SlackBuild
@@ -66,12 +66,8 @@ CFLAGS="$SLKCFLAGS" make
# Makefile does not support DESTDIR.
install -m 755 -D $PRGNAM $PKG/usr/bin/$PRGNAM
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- 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