From d171785e3eea3ec726324ebc8a8272121305da3b Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:50:47 -0400 Subject: system/whowatch: Fixed for bash4. --- system/whowatch/whowatch.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'system') 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 -- cgit v1.2.3