Every of defined values of **CHANNELCOLLATERAL*** ends with '/' symbol
URL for downloading builds.txt by curl, looks like:
http://officecdn-microsoft-com.akamaized.net/pr/C1297A47-86C4-4C1F-97FA-950631F94777/OfficeMac//builds.txt - double symbol '/' before builds.txt
Every of defined values of **CHANNELCOLLATERAL*** ends with '/' symbol
URL for downloading
builds.txt
by curl, looks like:http://officecdn-microsoft-com.akamaized.net/pr/C1297A47-86C4-4C1F-97FA-950631F94777/OfficeMac//builds.txt
- double symbol '/' beforebuilds.txt
Here - duplicated '/' character appears https://github.com/pbowden-msft/MAUCacheAdmin/blob/0bff64dac08cfed7b7207465a21d237cb5192437/MAUCacheAdmin#L117
should be (if I'm not mistaken):
(cd "$SCRATCH_AREA" && curl --progress-bar --remote-name --location "$CHANNELURL""builds.txt")