Put WGET_OPT back as it is used by brandingh

This commit is contained in:
Craig Emery 2016-03-09 11:11:33 +00:00
parent 950b9ce5eb
commit 56aa2aa2ff

View File

@ -183,7 +183,8 @@ WEB_HOTFIXES_ROOT=https://repo.citrite.net/builds/xs/hotfixes
WEB_HOTFIXES=${WEB_HOTFIXES_ROOT}/${XS_BRANCH}
WEB_HOTFIXES_TRUNK=${WEB_HOTFIXES_ROOT}/trunk
WGET () { wget -T 10 -N -q "${@}"; }
WGET_OPT="-T 10 -N -q"
WGET () { wget ${WGET_OPT} "${@}"; }
#check there are xenserver builds on this branch before proceeding
WGET --spider ${GLOBALS} || WGET --spider ${TRUNK_GLOBALS} || { echo 'FATAL: Unable to locate globals, xenadmin cannot be built if there is no succesfull build of xenserver published for the same branch.' ; exit 1; }