summaryrefslogtreecommitdiff
path: root/system/plan9port/plan9port.SlackBuild
diff options
context:
space:
mode:
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 :)