From 3d0bad5b9d926cb3f2658013ed753ac89172814d Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:50:13 -0400 Subject: system/plan9port: Fixed for bash4. --- system/plan9port/plan9port.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'system') diff --git a/system/plan9port/plan9port.SlackBuild b/system/plan9port/plan9port.SlackBuild index 593860ba1589c..91c9b38545ffb 100644 --- a/system/plan9port/plan9port.SlackBuild +++ b/system/plan9port/plan9port.SlackBuild @@ -63,12 +63,8 @@ sed -i 's:^new=`cleanname $PLAN9`$:new=`cleanname /opt/plan9`:' \ cd $TMP mv plan9 $PKG/opt -( 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 # man(1) from plan9port dislikes man pages compressed :) -- cgit v1.2.3