summaryrefslogtreecommitdiff
path: root/system/gtklp/gtklp.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:05 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:05 -0400
commitd13903d73b518dd776f1b8488c21d8df7188adf7 (patch)
treec1ea1d82403d2e0dcf520219cf747b9859ed2472 /system/gtklp/gtklp.SlackBuild
parent3e68a0cc4e8fb55cbc4f028611cb093b896c2501 (diff)
downloadslackbuilds-d13903d73b518dd776f1b8488c21d8df7188adf7.tar.gz
system/gtklp: Fixed for bash4.
Diffstat (limited to 'system/gtklp/gtklp.SlackBuild')
-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 {} \;