summaryrefslogtreecommitdiffstats
path: root/misc/par
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:12 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:12 -0400
commitd4c8a270a80994e6e482086876a4030b63fa43af (patch)
treed1a1d943ca96126f843420b6161ca4cbc6033249 /misc/par
parente0c8cc50f1f06e93659261f5734387b69a470900 (diff)
downloadslackbuilds-d4c8a270a80994e6e482086876a4030b63fa43af.tar.gz
slackbuilds-d4c8a270a80994e6e482086876a4030b63fa43af.tar.xz
misc/par: Fixed for bash4.
Diffstat (limited to 'misc/par')
-rw-r--r--misc/par/par.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/misc/par/par.SlackBuild b/misc/par/par.SlackBuild
index 8d58b8741f..c5ab4019ec 100644
--- a/misc/par/par.SlackBuild
+++ b/misc/par/par.SlackBuild
@@ -45,12 +45,8 @@ make -f protoMakefile CC="cc -c" LINK1="cc" LINK2="-o" RM="rm" JUNK=""
mkdir -p $PKG/usr/bin
install par $PKG/usr/bin
-( 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/man/man1
# avoid tripping up extension sniffers