aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:12 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:12 -0400
commitd4c8a270a80994e6e482086876a4030b63fa43af (patch)
treed1a1d943ca96126f843420b6161ca4cbc6033249
parente0c8cc50f1f06e93659261f5734387b69a470900 (diff)
misc/par: Fixed for bash4.
-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 8d58b8741f098..c5ab4019ec9a7 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