summaryrefslogtreecommitdiffstats
path: root/desktop/wminfo
diff options
context:
space:
mode:
author David Somero2010-05-19 08:32:32 +0200
committer David Somero2010-05-19 08:32:32 +0200
commit4d23e99a45d726e702b4ba2c6a2b20ef90a1a34c (patch)
treea856a1e3026939f112b7e463736dde35160f5874 /desktop/wminfo
parent5c826cf70b5897290f6c1f389b790f4a48a2c63d (diff)
downloadslackbuilds-4d23e99a45d726e702b4ba2c6a2b20ef90a1a34c.tar.gz
desktop/wminfo: Fixed for bash4.
Diffstat (limited to 'desktop/wminfo')
-rw-r--r--desktop/wminfo/wminfo.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/wminfo/wminfo.SlackBuild b/desktop/wminfo/wminfo.SlackBuild
index ed75f57b69..06231c679b 100644
--- a/desktop/wminfo/wminfo.SlackBuild
+++ b/desktop/wminfo/wminfo.SlackBuild
@@ -52,12 +52,8 @@ cd wminfo
cp -a wminfo.xpm $PKG/usr/share/pixmaps
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES COPYING INSTALL README TODO plugins \