aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:06 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:06 -0400
commit2a011872f5f1f5871839652d88b8ff0b55aa8857 (patch)
treec350e3dc9c00437c696337f0d03d2f5a9ff65245
parentd51941ac579534906f445bad751165ed9eea67aa (diff)
system/ccd2iso: Fixed for bash4.
-rw-r--r--system/ccd2iso/ccd2iso.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/ccd2iso/ccd2iso.SlackBuild b/system/ccd2iso/ccd2iso.SlackBuild
index 35a75593e5bb7..19c454d990cd4 100644
--- a/system/ccd2iso/ccd2iso.SlackBuild
+++ b/system/ccd2iso/ccd2iso.SlackBuild
@@ -51,12 +51,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 || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
-)
+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 \