summaryrefslogtreecommitdiff
path: root/system/foremost/foremost.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/foremost/foremost.SlackBuild')
-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 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