summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:39 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:39 -0400
commitc6cfbce606c63d75b73d0793a3fe16b354281c5b (patch)
tree0ef1e41e0f63528b9715a5d5db4eef141a7ba41a /development
parent1cf8fb713f13fedb3258a6d6cbd8938dfd669eeb (diff)
downloadslackbuilds-c6cfbce606c63d75b73d0793a3fe16b354281c5b.tar.gz
development/icoutils: Fixed for bash4.
Diffstat (limited to 'development')
-rw-r--r--development/icoutils/icoutils.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/icoutils/icoutils.SlackBuild b/development/icoutils/icoutils.SlackBuild
index 8856595b1d..57086e1633 100644
--- a/development/icoutils/icoutils.SlackBuild
+++ b/development/icoutils/icoutils.SlackBuild
@@ -72,12 +72,8 @@ make install DESTDIR=$PKG
# Kill an empty directory
rmdir $PKG/usr/share 2>/dev/null || true
-( 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 {} \;