Unsupport wget
This commit is contained in:
parent
95206f438f
commit
a7e96af377
|
@ -133,12 +133,13 @@ probe() {
|
||||||
}
|
}
|
||||||
|
|
||||||
probe_need() {
|
probe_need() {
|
||||||
local V=$1
|
|
||||||
probe $*
|
probe $*
|
||||||
|
local V=$1
|
||||||
|
shift
|
||||||
eval VV=\$$V
|
eval VV=\$$V
|
||||||
if [ -z "$VV" ]
|
if [ -z "$VV" ]
|
||||||
then
|
then
|
||||||
err "needed, but unable to find any of: $*"
|
err "$V needed, but unable to find any of: $*"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -725,7 +726,7 @@ if [ -n "$CFG_ENABLE_ORBIT" ]; then putvar CFG_ENABLE_ORBIT; fi
|
||||||
|
|
||||||
step_msg "looking for build programs"
|
step_msg "looking for build programs"
|
||||||
|
|
||||||
probe_need CFG_CURLORWGET curl wget
|
probe_need CFG_CURL curl
|
||||||
if [ -z "$CFG_PYTHON_PROVIDED" ]; then
|
if [ -z "$CFG_PYTHON_PROVIDED" ]; then
|
||||||
probe_need CFG_PYTHON python2.7 python2 python
|
probe_need CFG_PYTHON python2.7 python2 python
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue