summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2010-04-09 12:39:50 -0500
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-15 10:26:11 +0200
commitb74aec2963b071349c332c848563118d2f67e87b (patch)
treeeded3de21fab48bee7e3a996fe61afd38538ab8d /desktop
parentb54450b3c5242df4c4ed01f8427ea54e770e47b8 (diff)
downloadslackbuilds-b74aec2963b071349c332c848563118d2f67e87b.tar.gz
desktop/dmenu: Fixes for bash4.
Diffstat (limited to 'desktop')
-rw-r--r--desktop/dmenu/dmenu.SlackBuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/desktop/dmenu/dmenu.SlackBuild b/desktop/dmenu/dmenu.SlackBuild
index f7c99ae826..e6a2d9cdb1 100644
--- a/desktop/dmenu/dmenu.SlackBuild
+++ b/desktop/dmenu/dmenu.SlackBuild
@@ -73,15 +73,12 @@ make install \
DESTDIR=$PKG
-( find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- find $PKG | 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 {} \;
- for i in `find . -type l` ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+ for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION