From ec62442e1cc745f9940eeba02ca6925171f74cb5 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:48:45 -0400 Subject: system/foremost: Fixed for bash4. --- system/foremost/foremost.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'system/foremost') diff --git a/system/foremost/foremost.SlackBuild b/system/foremost/foremost.SlackBuild index 116dc78727..ef43fde82f 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 -- cgit v1.2.3