summaryrefslogtreecommitdiffstats
path: root/system/ccd2iso
diff options
context:
space:
mode:
author David Somero2010-05-19 08:48:06 +0200
committer David Somero2010-05-19 08:48:06 +0200
commit2a011872f5f1f5871839652d88b8ff0b55aa8857 (patch)
treec350e3dc9c00437c696337f0d03d2f5a9ff65245 /system/ccd2iso
parentd51941ac579534906f445bad751165ed9eea67aa (diff)
downloadslackbuilds-2a011872f5f1f5871839652d88b8ff0b55aa8857.tar.gz
system/ccd2iso: Fixed for bash4.
Diffstat (limited to 'system/ccd2iso')
-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 35a75593e5..19c454d990 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 \