aboutsummaryrefslogtreecommitdiff
path: root/system/foremost
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:45 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:45 -0400
commitec62442e1cc745f9940eeba02ca6925171f74cb5 (patch)
tree557b1f9c8dd7d994b5132491c90a3ad3866fc867 /system/foremost
parent3de90af192b10249153d5fdba64ac96eaf27b6d1 (diff)
system/foremost: Fixed for bash4.
Diffstat (limited to 'system/foremost')
-rw-r--r--system/foremost/foremost.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/foremost/foremost.SlackBuild b/system/foremost/foremost.SlackBuild
index 116dc78727569..ef43fde82f1a8 100644
--- a/system/foremost/foremost.SlackBuild
+++ b/system/foremost/foremost.SlackBuild
@@ -54,12 +54,8 @@ make install \
MAN=$PKG/usr/man/man8 \
BIN=$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
# Don't clobber conf file on upgrades.
mv $PKG/etc/foremost.conf $PKG/etc/foremost.conf.new