aboutsummaryrefslogtreecommitdiff
path: root/development/mono
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:43 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:43 -0400
commit066890be33cb108f9282e33fca922ab083d4b231 (patch)
tree5c7ccaec1a6bab46122e49580f7141ffb81874d9 /development/mono
parenteaaff26e7fc11a89197257c4579dda3aa4b82c7c (diff)
development/mono: Fixed for bash4.
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 \