From e33cf688df6cb5909791e4d3638d81ec72957dea Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:36:11 -0400 Subject: libraries/gdal: Fixed for bash4. --- libraries/gdal/gdal.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'libraries/gdal/gdal.SlackBuild') diff --git a/libraries/gdal/gdal.SlackBuild b/libraries/gdal/gdal.SlackBuild index b242ae1a6a..1dff01b30f 100644 --- a/libraries/gdal/gdal.SlackBuild +++ b/libraries/gdal/gdal.SlackBuild @@ -61,12 +61,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 - 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 cp -a man/ $PKG/usr/ gzip -9 $PKG/usr/man/man?/* || exit 1 -- cgit v1.2.3