summaryrefslogtreecommitdiff
path: root/system/whowatch
diff options
context:
space:
mode:
Diffstat (limited to 'system/whowatch')
-rw-r--r--system/whowatch/whowatch.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/whowatch/whowatch.SlackBuild b/system/whowatch/whowatch.SlackBuild
index 6e54f0ed79..f65b114331 100644
--- a/system/whowatch/whowatch.SlackBuild
+++ b/system/whowatch/whowatch.SlackBuild
@@ -74,12 +74,8 @@ make
mkdir -p $PKG/usr/bin
cp whowatch $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/doc/$PRGNAM-$VERSION
cp README COPYING KEYS $PKG/usr/doc/$PRGNAM-$VERSION