File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ validate_inputs(){
119119}
120120
121121parse_config_and_set_env_vars (){
122- extract_base_cmd=" python $SCRIPT_DIR /scripts/extract_json_value.py"
122+ extract_base_cmd=" python3 $SCRIPT_DIR /scripts/extract_json_value.py"
123123
124124 # Arguments Take Precedence over Config
125125 [ -z " $PACKAGE_VERSION " ] && PACKAGE_VERSION=" $( $extract_base_cmd $CONFIG " release.package_version" ) "
@@ -218,15 +218,15 @@ package_install_scripts(){
218218
219219# # Generation Functions ##
220220generate_config_templates (){
221- python ${SCRIPT_DIR} /scripts/config_template_generator.py $CONFIG $SCRIPT_DIR /templates/debian $DEBIAN_DIR $PACKAGE_NAME $PACKAGE_VERSION
221+ python3 ${SCRIPT_DIR} /scripts/config_template_generator.py $CONFIG $SCRIPT_DIR /templates/debian $DEBIAN_DIR $PACKAGE_NAME $PACKAGE_VERSION
222222}
223223
224224generate_manpages (){
225225 if [[ -f " $DOCS_JSON_PATH " ]]; then
226226 mkdir -p $DOCS_DIR
227227
228228 # Generate the manpages from json spec
229- python ${SCRIPT_DIR} /scripts/manpage_generator.py ${DOCS_JSON_PATH} ${DOCS_DIR}
229+ python3 ${SCRIPT_DIR} /scripts/manpage_generator.py ${DOCS_JSON_PATH} ${DOCS_DIR}
230230 fi
231231}
232232
Original file line number Diff line number Diff line change 1- #!/usr/bin/python
1+ #!/usr/bin/python3
22#
33# Licensed to the .NET Foundation under one or more agreements.
44# The .NET Foundation licenses this file to you under the MIT license.
Original file line number Diff line number Diff line change 1- #!/usr/bin/python
1+ #!/usr/bin/python3
22#
33# Licensed to the .NET Foundation under one or more agreements.
44# The .NET Foundation licenses this file to you under the MIT license.
Original file line number Diff line number Diff line change 1- #!/usr/bin/python
1+ #!/usr/bin/python3
22#
33# Licensed to the .NET Foundation under one or more agreements.
44# The .NET Foundation licenses this file to you under the MIT license.
You can’t perform that action at this time.
0 commit comments