summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:36:18 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:36:18 -0400
commit0094a314f73de100af6fd096ffc6e4d2fbbc2ace (patch)
tree9a7f4023d46c0a62da82b5b478d45dd9b1f65dd4
parent8b3a50844982481a7822edacda31c5ef1e7daf43 (diff)
downloadslackbuilds-0094a314f73de100af6fd096ffc6e4d2fbbc2ace.tar.gz
slackbuilds-0094a314f73de100af6fd096ffc6e4d2fbbc2ace.tar.xz
libraries/gnome-python-extras: Fixed for bash4.
-rw-r--r--libraries/gnome-python-extras/gnome-python-extras.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/gnome-python-extras/gnome-python-extras.SlackBuild b/libraries/gnome-python-extras/gnome-python-extras.SlackBuild
index 9d91b4de8b..7da3bbf3ac 100644
--- a/libraries/gnome-python-extras/gnome-python-extras.SlackBuild
+++ b/libraries/gnome-python-extras/gnome-python-extras.SlackBuild
@@ -58,12 +58,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
-)
+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 AUTHORS ChangeLog COPYING* INSTALL MAINTAINERS NEWS README \