summaryrefslogtreecommitdiffstats
path: root/system/gtklp
diff options
context:
space:
mode:
author David Somero2010-05-19 08:49:05 +0200
committer David Somero2010-05-19 08:49:05 +0200
commitd13903d73b518dd776f1b8488c21d8df7188adf7 (patch)
treec1ea1d82403d2e0dcf520219cf747b9859ed2472 /system/gtklp
parent3e68a0cc4e8fb55cbc4f028611cb093b896c2501 (diff)
downloadslackbuilds-d13903d73b518dd776f1b8488c21d8df7188adf7.tar.gz
system/gtklp: Fixed for bash4.
Diffstat (limited to 'system/gtklp')
-rw-r--r--system/gtklp/gtklp.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/gtklp/gtklp.SlackBuild b/system/gtklp/gtklp.SlackBuild
index 78d4f5054b..4b071725fc 100644
--- a/system/gtklp/gtklp.SlackBuild
+++ b/system/gtklp/gtklp.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 || true
-)
+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 {} \;