summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:45:44 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:45:44 -0400
commitdbe16284e93fdf5fc842ea605719ef30fa9dc2d0 (patch)
tree8e6063a18850ab2777ad2656d4a9447cc1eeb3c1
parent7d6ff4e01edc1e1ceeb57f2d77f33ab7acca384d (diff)
downloadslackbuilds-dbe16284e93fdf5fc842ea605719ef30fa9dc2d0.tar.gz
network/qwit: Fixed for bash4.
-rw-r--r--network/qwit/qwit.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/qwit/qwit.SlackBuild b/network/qwit/qwit.SlackBuild
index 95b559936b..aebf9bf1d0 100644
--- a/network/qwit/qwit.SlackBuild
+++ b/network/qwit/qwit.SlackBuild
@@ -46,12 +46,8 @@ make \
CXXFLAGS="-pipe $SLKCFLAGS -g -Wall -W -D_REENTRANT \$(DEFINES)"
make install INSTALL_ROOT=$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
-)
+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/share/pixmaps
install -m 0644 images/$PRGNAM.png $PKG/usr/share/pixmaps/