aboutsummaryrefslogtreecommitdiff
path: root/system/chmsee
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:10 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:10 -0400
commitc610c07b2a877236126d12d02149de6b0f91347a (patch)
treed81ca367aa937e657d41e2c30ba4569fa1903734 /system/chmsee
parentc06fa45abc40483e708f7b0ca9d8ca1f5d5a6f0a (diff)
system/chmsee: Fixed for bash4.
Diffstat (limited to 'system/chmsee')
-rw-r--r--system/chmsee/chmsee.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/chmsee/chmsee.SlackBuild b/system/chmsee/chmsee.SlackBuild
index a1f5bb3aca6c2..d9482b23462e1 100644
--- a/system/chmsee/chmsee.SlackBuild
+++ b/system/chmsee/chmsee.SlackBuild
@@ -77,12 +77,8 @@ make install DESTDIR=$PKG
for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
-( 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 \