aboutsummaryrefslogtreecommitdiff
path: root/desktop/wmCalClock/wmCalClock.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:23 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:23 -0400
commit0c28bfb90207f1ca6fce629afafbe322e27b701b (patch)
treea61fe5b3a19ffbca49f7b199d067b9bb6815601f /desktop/wmCalClock/wmCalClock.SlackBuild
parentbecfa2384214aaf28e775b1859cce3df5a1bc8ad (diff)
desktop/wmCalClock: Fixed for bash4.
Diffstat (limited to 'desktop/wmCalClock/wmCalClock.SlackBuild')
-rw-r--r--desktop/wmCalClock/wmCalClock.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/wmCalClock/wmCalClock.SlackBuild b/desktop/wmCalClock/wmCalClock.SlackBuild
index d1a912347a1fe..6ce12001d40a8 100644
--- a/desktop/wmCalClock/wmCalClock.SlackBuild
+++ b/desktop/wmCalClock/wmCalClock.SlackBuild
@@ -52,12 +52,8 @@ cd Src
make install DESTDIR=$PKG/usr
cd -
-( 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 {} \;