aboutsummaryrefslogtreecommitdiff
path: root/network/msn-proxy/msn-proxy.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:44:28 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:44:28 -0400
commit9e504ff8f10b0935648e716a38b3038d7f60db46 (patch)
tree2fdb71624406218f27d0a512f64ffee0718f41ae /network/msn-proxy/msn-proxy.SlackBuild
parenta9287ab6ed0695b819c533f43bbf768599eb0c5e (diff)
network/msn-proxy: Fixed for bash4.
Diffstat (limited to 'network/msn-proxy/msn-proxy.SlackBuild')
-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 914d5561ec7fe..b5d715ea76f8b 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