diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:43:29 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:43:29 -0400 |
commit | 0a24f95a4b4036a6b60f3cd9937fa3cf973a718d (patch) | |
tree | 12ff7d7cc74ca138a149b657f10e009866782798 /network | |
parent | f5f013840c7242933f548d75347d9b21f9d517eb (diff) | |
download | slackbuilds-0a24f95a4b4036a6b60f3cd9937fa3cf973a718d.tar.gz |
network/haproxy: Fixed for bash4.
Diffstat (limited to 'network')
-rw-r--r-- | network/haproxy/haproxy.SlackBuild | 8 |
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 |