mirror of https://github.com/CGAL/cgal
Cosmetic change: I commit what is used on sosno
This commit is contained in:
parent
1ad762e082
commit
48d4034baa
|
|
@ -97,8 +97,10 @@ download_latest()
|
||||||
fi
|
fi
|
||||||
log "${ACTUAL_LOGFILE}" "getting LATEST"
|
log "${ACTUAL_LOGFILE}" "getting LATEST"
|
||||||
if [ -n "${USE_CURL}" ]; then
|
if [ -n "${USE_CURL}" ]; then
|
||||||
|
echo "using curl..."
|
||||||
${CURL} ${CURL_OPTS} "${LATEST_LOCATION}" >> "${ACTUAL_LOGFILE}" 2>&1
|
${CURL} ${CURL_OPTS} "${LATEST_LOCATION}" >> "${ACTUAL_LOGFILE}" 2>&1
|
||||||
else
|
else
|
||||||
|
echo "using wget..."
|
||||||
${WGET} ${WGET_OPTS} "${LATEST_LOCATION}" >> "${ACTUAL_LOGFILE}" 2>&1
|
${WGET} ${WGET_OPTS} "${LATEST_LOCATION}" >> "${ACTUAL_LOGFILE}" 2>&1
|
||||||
fi
|
fi
|
||||||
if [ ! -f "LATEST" ]; then
|
if [ ! -f "LATEST" ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue