aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:09 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:09 -0400
commit22ca3246f2754cc7c070ac449c8dc1a16e81d13f (patch)
treef96f584188a8d44386daf7df7a451beb7a9d2e2f /libraries
parent47f5124e1224acfe7b8c7884813993d61c14cdbe (diff)
libraries/pygtksourceview: Fixed for bash4.
Diffstat (limited to 'libraries')
-rw-r--r--libraries/pygtksourceview/pygtksourceview.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/pygtksourceview/pygtksourceview.SlackBuild b/libraries/pygtksourceview/pygtksourceview.SlackBuild
index 476bc89027d0b..3e25e3157d62a 100644
--- a/libraries/pygtksourceview/pygtksourceview.SlackBuild
+++ b/libraries/pygtksourceview/pygtksourceview.SlackBuild
@@ -52,12 +52,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 \