summaryrefslogtreecommitdiff
path: root/system/graveman/graveman.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:00 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:00 -0400
commita3561adc1691ca56531d32772a32f8d5f115a55e (patch)
treebd345447ad0760d160b384b3823a3d22857dc555 /system/graveman/graveman.SlackBuild
parentccd4c366914ae09df339ededaf9125d63e8a9569 (diff)
downloadslackbuilds-a3561adc1691ca56531d32772a32f8d5f115a55e.tar.gz
system/graveman: Fixed for bash4.
Diffstat (limited to 'system/graveman/graveman.SlackBuild')
-rw-r--r--system/graveman/graveman.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/graveman/graveman.SlackBuild b/system/graveman/graveman.SlackBuild
index 8e2b87888d..a718a8bf80 100644
--- a/system/graveman/graveman.SlackBuild
+++ b/system/graveman/graveman.SlackBuild
@@ -86,12 +86,8 @@ CXXFLAGS="$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 || 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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;