build-source.sh: tolerate source_location not ending with a newline
Turns out, even if read
command returns 1, it might have read the last
line into the variable anyway. So remove the second read
command from
the loop condition and put it under its own if
, and warn or error out
as appropriate based on the read value.
Fixes: #92 (closed)
CC: @sunweaver