File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
prerequisites/build-functions Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,8 +68,8 @@ download_if_necessary()
68
68
;;
69
69
esac
70
70
71
- if [[ -f " ${download_path} /${url_tail} " || -d " ${download_path} /${url_tail} " ]] ; then
72
- info " Found '${url_tail} ' in ${download_path} ."
71
+ if [[ -f " ${download_path} /${url_tail} " || -d " ${download_path} /${url_tail##* branches / } " ]]; then
72
+ info " Found '${url_tail##* branches / } ' in ${download_path} ."
73
73
info " If it resulted from an incomplete download, building ${package_name} could fail."
74
74
if [[ " ${arg_y} " == " ${__flag_present} " ]]; then
75
75
info " -y or --yes-to-all flag present. Proceeding with non-interactive build."
@@ -78,7 +78,7 @@ download_if_necessary()
78
78
read -r proceed
79
79
if [[ " ${proceed} " == " n" || " ${proceed} " == " N" || " ${proceed} " == " no" ]]; then
80
80
info " n"
81
- info " Please remove $url_tail and restart the installation to to ensure a fresh download." 1>&2
81
+ info " Please remove ${ url_tail##* branches / } and restart the installation to to ensure a fresh download." 1>&2
82
82
emergency " Aborting. [exit 80]"
83
83
else
84
84
info " y"
You can’t perform that action at this time.
0 commit comments