aboutsummaryrefslogtreecommitdiff
path: root/system/xcdroast/xcdroast.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:52 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:52 -0400
commitf5170cf1a411a5811e886169458feeddc7250ca3 (patch)
tree0d8fe32f7c3ead90f3da7d706d6dfe46cf3999f8 /system/xcdroast/xcdroast.SlackBuild
parentcec72710c91b80fe4d2423050a88ef72a56f6c31 (diff)
system/xcdroast: Fixed for bash4.
Diffstat (limited to 'system/xcdroast/xcdroast.SlackBuild')
-rw-r--r--system/xcdroast/xcdroast.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/xcdroast/xcdroast.SlackBuild b/system/xcdroast/xcdroast.SlackBuild
index 9eaee04bc98d..c3c97d780ace 100644
--- a/system/xcdroast/xcdroast.SlackBuild
+++ b/system/xcdroast/xcdroast.SlackBuild
@@ -62,12 +62,8 @@ cat $CWD/xcdroast.desktop > $PKG/usr/share/applications/xcdroast.desktop
ln -s ../../lib${LIBDIRSUFFIX}/xcdroast/icons/xcdricon.png xcdroast.png
)
-( 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 {} \;