@@ -220,35 +220,35 @@ if [ -f "$config_file" ]; then
220220 config_channel=" $( jq -r ' select(.channel!=null) | .channel' " $config_file " ) "
221221 config_tools_source=" $( jq -r ' select(.toolsSource!=null) | .toolsSource' " $config_file " ) "
222222 else
223- _error " $config_file contains invalid JSON."
223+ __error " $config_file contains invalid JSON."
224224 exit 1
225225 fi
226226 elif __machine_has python ; then
227227 if python -c " import json,codecs;obj=json.load(codecs.open('$config_file ', 'r', 'utf-8-sig'))" > /dev/null ; then
228228 config_channel=" $( python -c " import json,codecs;obj=json.load(codecs.open('$config_file ', 'r', 'utf-8-sig'));print(obj['channel'] if 'channel' in obj else '')" ) "
229229 config_tools_source=" $( python -c " import json,codecs;obj=json.load(codecs.open('$config_file ', 'r', 'utf-8-sig'));print(obj['toolsSource'] if 'toolsSource' in obj else '')" ) "
230230 else
231- _error " $config_file contains invalid JSON."
231+ __error " $config_file contains invalid JSON."
232232 exit 1
233233 fi
234234 elif __machine_has python3 ; then
235235 if python3 -c " import json,codecs;obj=json.load(codecs.open('$config_file ', 'r', 'utf-8-sig'))" > /dev/null ; then
236236 config_channel=" $( python3 -c " import json,codecs;obj=json.load(codecs.open('$config_file ', 'r', 'utf-8-sig'));print(obj['channel'] if 'channel' in obj else '')" ) "
237237 config_tools_source=" $( python3 -c " import json,codecs;obj=json.load(codecs.open('$config_file ', 'r', 'utf-8-sig'));print(obj['toolsSource'] if 'toolsSource' in obj else '')" ) "
238238 else
239- _error " $config_file contains invalid JSON."
239+ __error " $config_file contains invalid JSON."
240240 exit 1
241241 fi
242242 else
243- _error ' Missing required command: jq or python. Could not parse the JSON file.'
243+ __error ' Missing required command: jq or python. Could not parse the JSON file.'
244244 exit 1
245245 fi
246246
247247 [ ! -z " ${config_channel:- } " ] && channel=" $config_channel "
248248 [ ! -z " ${config_tools_source:- } " ] && tools_source=" $config_tools_source "
249249fi
250250
251- [ -z " $channel " ] && channel=' dev '
251+ [ -z " $channel " ] && channel=' master '
252252[ -z " $tools_source " ] && tools_source=' https://aspnetcore.blob.core.windows.net/buildtools'
253253
254254get_korebuild
0 commit comments