aboutsummaryrefslogtreecommitdiff
path: root/libraries/SDL_Pango
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:33 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:33 -0400
commit5d21cd34760f5a160b5d195d4e98a478a54b556c (patch)
tree5dc3578ff57cf086bd71a23d55217facd6719a2b /libraries/SDL_Pango
parent5975daa06b3e1c2486e7992adf5eb6e23f30f40f (diff)
libraries/SDL_Pango: Fixed for bash4.
Diffstat (limited to 'libraries/SDL_Pango')
-rw-r--r--libraries/SDL_Pango/SDL_Pango.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/SDL_Pango/SDL_Pango.SlackBuild b/libraries/SDL_Pango/SDL_Pango.SlackBuild
index 92e843f6cd9a..9a563e669800 100644
--- a/libraries/SDL_Pango/SDL_Pango.SlackBuild
+++ b/libraries/SDL_Pango/SDL_Pango.SlackBuild
@@ -66,12 +66,8 @@ CFLAGS="$SLKCFLAGS" \
make || exit 1
make install DESTDIR=$PKG || exit 1
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
- 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 COPYING ChangeLog NEWS README docs/html \