summaryrefslogtreecommitdiff
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
parenteaaff26e7fc11a89197257c4579dda3aa4b82c7c (diff)
downloadslackbuilds-066890be33cb108f9282e33fca922ab083d4b231.tar.gz
development/mono: Fixed for bash4.
-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 306f8d68d6..c1ae33126d 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 \