aboutsummaryrefslogtreecommitdiff
path: root/desktop/awesome/awesome.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:44 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:44 -0400
commit737f3053845f62cda7299eb331a8a7402a13373d (patch)
tree0604a01f0dbf8d5b362fb12bfca8aa22965cbaa4 /desktop/awesome/awesome.SlackBuild
parentebeacbc0fe0d66612af52885b44664daae8fcae0 (diff)
desktop/awesome: Fixed for bash4.
Diffstat (limited to 'desktop/awesome/awesome.SlackBuild')
-rw-r--r--desktop/awesome/awesome.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/awesome/awesome.SlackBuild b/desktop/awesome/awesome.SlackBuild
index aa72a9f606b81..09c8c20343c2d 100644
--- a/desktop/awesome/awesome.SlackBuild
+++ b/desktop/awesome/awesome.SlackBuild
@@ -55,12 +55,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
-)
+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 {} \;