aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:09 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:09 -0400
commita508aeeec24f585d6c76c2fb202c70e5dde1dc76 (patch)
treecd706036127debf9566d30d43e9859d71c5caeab
parent60a6f441a1110a9135b640dc3ce57d503c20a421 (diff)
graphics/qcomicbook: Fixed for bash4.
-rw-r--r--graphics/qcomicbook/qcomicbook.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/graphics/qcomicbook/qcomicbook.SlackBuild b/graphics/qcomicbook/qcomicbook.SlackBuild
index e1d2a6498e66a..dfb67a0ec6125 100644
--- a/graphics/qcomicbook/qcomicbook.SlackBuild
+++ b/graphics/qcomicbook/qcomicbook.SlackBuild
@@ -52,12 +52,8 @@ make install DESTDIR=$PKG
mv $PKG/usr/share/man $PKG/usr/man
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
-( 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 \