aboutsummaryrefslogtreecommitdiff
path: root/development/mono
diff options
context:
space:
mode:
Diffstat (limited to 'development/mono')
-rw-r--r--development/mono/mono.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/mono/mono.SlackBuild b/development/mono/mono.SlackBuild
index 306f8d68d67e4..c1ae33126da2d 100644
--- a/development/mono/mono.SlackBuild
+++ b/development/mono/mono.SlackBuild
@@ -73,12 +73,8 @@ mv $PKG/etc/mono/2.0/web.config $PKG/etc/mono/2.0/web.config.new
mv $PKG/etc/mono/2.0/DefaultWsdlHelpGenerator.aspx \
$PKG/etc/mono/2.0/DefaultWsdlHelpGenerator.aspx.new
-( 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 || true
-)
+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 -a \