get_sources: Print the URL we're fetching

Just for better debugging.
This commit is contained in:
Colin Walters 2016-12-14 10:31:10 -05:00 committed by Johnny Hughes
parent 552ca48e93
commit 1ad34919a1

View file

@ -212,7 +212,9 @@ while read -r fsha fname ; do
for br in "${branches[@]}" for br in "${branches[@]}"
do do
br=$(echo ${br}| sed -e s'|remotes/origin/||') br=$(echo ${br}| sed -e s'|remotes/origin/||')
curl -L ${QUIET} -f "${SURL}/${pn}/${br}/${fsha}" -o "${fname}" && break url="${SURL}/${pn}/${br}/${fsha}"
echo "Retrieving ${url}"
curl -L ${QUIET} -f "${url}" -o "${fname}" && break
done done
else else
echo "${fname} exists. skipping" echo "${fname} exists. skipping"