summaryrefslogtreecommitdiff
path: root/network/haproxy
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:43:29 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:43:29 -0400
commit0a24f95a4b4036a6b60f3cd9937fa3cf973a718d (patch)
tree12ff7d7cc74ca138a149b657f10e009866782798 /network/haproxy
parentf5f013840c7242933f548d75347d9b21f9d517eb (diff)
downloadslackbuilds-0a24f95a4b4036a6b60f3cd9937fa3cf973a718d.tar.gz
network/haproxy: Fixed for bash4.
Diffstat (limited to 'network/haproxy')
-rw-r--r--network/haproxy/haproxy.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/haproxy/haproxy.SlackBuild b/network/haproxy/haproxy.SlackBuild
index 5377c90691..501e10430e 100644
--- a/network/haproxy/haproxy.SlackBuild
+++ b/network/haproxy/haproxy.SlackBuild
@@ -105,12 +105,8 @@ rm -rf $PKG/usr/{share,/doc/haproxy}
for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
-( 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
-)
+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/install
cat $CWD/slack-desc > $PKG/install/slack-desc