File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -287,10 +287,20 @@ download_if_necessary()
287
287
elif [[ " $fetch " == " git" ]]; then
288
288
args=clone
289
289
fi
290
- printf " Downloading $package_to_build $version_to_build .\n"
290
+ download_path=${PWD}
291
+ printf " Downloading $package_to_build $version_to_build to the following path:\n"
292
+ printf " $download_path \n"
291
293
printf " Download command: $fetch $args $url \n"
292
- $fetch $args $url
294
+ $fetch $args $url
293
295
if [[ $version_to_build == ' --avail' || $version_to_build == ' -a' ]]; then
296
+ # We have what we came for. Let's move on.
297
+ exit 1
298
+ fi
299
+ if [ -f " $url_tail " ]; then
300
+ echo " "
301
+ else
302
+ echo " Download failed: $url_tail is not in the following, expected location:"
303
+ echo " $download_path "
294
304
exit 1
295
305
fi
296
306
fi
You can’t perform that action at this time.
0 commit comments