diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:50:47 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:50:47 -0400 |
commit | d171785e3eea3ec726324ebc8a8272121305da3b (patch) | |
tree | 0908982b25c9bbb5e05170b93e452a6ae2b4027d /system/whowatch/whowatch.SlackBuild | |
parent | 4031b78e9fe24188f5f2d44079913ffe42ba7bf6 (diff) |
system/whowatch: Fixed for bash4.
Diffstat (limited to 'system/whowatch/whowatch.SlackBuild')
-rw-r--r-- | system/whowatch/whowatch.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/system/whowatch/whowatch.SlackBuild b/system/whowatch/whowatch.SlackBuild index 6e54f0ed79134..f65b1143314f1 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 |