Fix downloadURLFromGit() returns sigle line.

This commit is contained in:
Takanori TANIGUCHI
2022-08-27 22:46:30 +09:00
parent 4467f2ce46
commit 8127c30c5e

View File

@@ -472,7 +472,7 @@ downloadURLFromGit() { # $1 git user name, $2 git repo name
if [ -z "$downloadURL" ]; then
cleanupAndExit 9 "could not retrieve download URL for $gitusername/$gitreponame" ERROR
else
echo "$downloadURL"
echo "$downloadURL" | head -1
return 0
fi
}