summaryrefslogtreecommitdiff
path: root/system/plan9port/plan9port.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:13 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:13 -0400
commit3d0bad5b9d926cb3f2658013ed753ac89172814d (patch)
treed995d98c084c5f3b63b2b9ad8bcd4b45a35266da /system/plan9port/plan9port.SlackBuild
parent96caa2b1cd4839cfe826c645b54a194eb6aaa9eb (diff)
downloadslackbuilds-3d0bad5b9d926cb3f2658013ed753ac89172814d.tar.gz
system/plan9port: Fixed for bash4.
Diffstat (limited to 'system/plan9port/plan9port.SlackBuild')
-rw-r--r--system/plan9port/plan9port.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/plan9port/plan9port.SlackBuild b/system/plan9port/plan9port.SlackBuild
index 593860ba15..91c9b38545 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 :)