From 9bb1ae9106ce1de4f53233faa329863c1191551a Mon Sep 17 00:00:00 2001 From: Ryan Harper Date: Tue, 24 Mar 2020 10:42:05 -0500 Subject: tools: use python3 (#274) * tools: use python3 Switch tools/ to use python3 instead of python. At minimum this fixes building deb on python3 only releases like Focal. Applied via shell commands: $ grep 'usr/bin/.*python' tools/* 2>/dev/null | \ grep -v python3 | awk -F':' '{print $1}' | \ xargs -i sed -i -e '0,/python/s/python/python3/' {} * Use /usr/bin/env python3 to be virtualenv friendly --- tools/ccfg-merge-debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/ccfg-merge-debug') diff --git a/tools/ccfg-merge-debug b/tools/ccfg-merge-debug index 1f08e0cb..59c573af 100755 --- a/tools/ccfg-merge-debug +++ b/tools/ccfg-merge-debug @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 from cloudinit import handlers from cloudinit.handlers import cloud_config as cc_part -- cgit v1.2.3