summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:44:28 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:44:28 -0400
commit9e504ff8f10b0935648e716a38b3038d7f60db46 (patch)
tree2fdb71624406218f27d0a512f64ffee0718f41ae
parenta9287ab6ed0695b819c533f43bbf768599eb0c5e (diff)
downloadslackbuilds-9e504ff8f10b0935648e716a38b3038d7f60db46.tar.gz
slackbuilds-9e504ff8f10b0935648e716a38b3038d7f60db46.tar.xz
network/msn-proxy: Fixed for bash4.
-rw-r--r--network/msn-proxy/msn-proxy.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/msn-proxy/msn-proxy.SlackBuild b/network/msn-proxy/msn-proxy.SlackBuild
index 914d5561ec..b5d715ea76 100644
--- a/network/msn-proxy/msn-proxy.SlackBuild
+++ b/network/msn-proxy/msn-proxy.SlackBuild
@@ -58,12 +58,8 @@ sed -i -e "s,@SLKCFLAGS@,$SLKCFLAGS,g" -e "s,@LIBDIRSUFFIX@,$LIBDIRSUFFIX,g" \
make
make install DESTDIR=$PKG
-( 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
# Rename configuration files
mv $PKG/etc/$PRGNAM/$PRGNAM.conf $PKG/etc/$PRGNAM/$PRGNAM.conf.new