]> git.ipfire.org Git - thirdparty/asterisk.git/commit
build_tools: Fix download_externals to allow the use of curl or wget 69/5069/2
authorMichael L. Young <elgueromexicano@gmail.com>
Wed, 22 Feb 2017 19:08:05 +0000 (14:08 -0500)
committerMichael L. Young <elgueromexicano@gmail.com>
Wed, 22 Feb 2017 21:53:54 +0000 (15:53 -0600)
commit1cf1acb51ac16557aad76d9597f2c8314d1cda73
treeb8c0facfa1a99858bdb55ef60446207c20aacd52
parent3175d1b65fb66436816aa0eb8870d0ade41c8071
build_tools:  Fix download_externals to allow the use of curl or wget

Not sure if this is really a bug versus an improvement. I can see it being
viewed as a bug though by some.

The current build_tools/download_externals file depends on wget in order to
download external modules.  The current build system is able to discover
which tool to use for fetching remote files - either wget or curl.

This patch takes advantage of this capability by modifying the two calls to
the wget binary to instead use what was discovered by the build system.

ASTERISK-26812 #close

Change-Id: If9411a2554f009274d377445613ae91192d948a1
build_tools/download_externals