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(){
119
119
}
120
120
121
121
parse_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"
123
123
124
124
# Arguments Take Precedence over Config
125
125
[ -z " $PACKAGE_VERSION " ] && PACKAGE_VERSION=" $( $extract_base_cmd $CONFIG " release.package_version" ) "
@@ -218,15 +218,15 @@ package_install_scripts(){
218
218
219
219
# # Generation Functions ##
220
220
generate_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
222
222
}
223
223
224
224
generate_manpages (){
225
225
if [[ -f " $DOCS_JSON_PATH " ]]; then
226
226
mkdir -p $DOCS_DIR
227
227
228
228
# 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}
230
230
fi
231
231
}
232
232
Original file line number Diff line number Diff line change 1
- #!/usr/bin/python
1
+ #!/usr/bin/python3
2
2
#
3
3
# Licensed to the .NET Foundation under one or more agreements.
4
4
# 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
2
2
#
3
3
# Licensed to the .NET Foundation under one or more agreements.
4
4
# 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
2
2
#
3
3
# Licensed to the .NET Foundation under one or more agreements.
4
4
# The .NET Foundation licenses this file to you under the MIT license.
You can’t perform that action at this time.
0 commit comments