From 2bf4bd0acb7ab95d3b689b9fb92f431f299482b4 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Wed, 6 Apr 2022 17:46:47 -0400 Subject: [PATCH] mac/linux: Use python3 for .sh scripts Newer OS versions no longer ship with Python 2 by default. --- cef_create_projects.sh | 2 +- tools/fix_style.sh | 2 +- tools/make_distrib.sh | 2 +- tools/make_version_header.sh | 2 +- tools/patch.sh | 2 +- tools/patch_updater.sh | 2 +- tools/translator.sh | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cef_create_projects.sh b/cef_create_projects.sh index a9c94cd92..d77c9a1a5 100755 --- a/cef_create_projects.sh +++ b/cef_create_projects.sh @@ -1,2 +1,2 @@ #!/bin/sh -python tools/gclient_hook.py +python3 tools/gclient_hook.py diff --git a/tools/fix_style.sh b/tools/fix_style.sh index c466ab06c..042c01f2a 100755 --- a/tools/fix_style.sh +++ b/tools/fix_style.sh @@ -1,2 +1,2 @@ #!/bin/sh -python tools/fix_style.py $@ +python3 tools/fix_style.py $@ diff --git a/tools/make_distrib.sh b/tools/make_distrib.sh index 273a3e16b..4b71cf455 100755 --- a/tools/make_distrib.sh +++ b/tools/make_distrib.sh @@ -1,2 +1,2 @@ #!/bin/sh -python make_distrib.py --output-dir ../binary_distrib/ $@ +python3 make_distrib.py --output-dir ../binary_distrib/ $@ diff --git a/tools/make_version_header.sh b/tools/make_version_header.sh index 50f83fcc8..30e00b266 100755 --- a/tools/make_version_header.sh +++ b/tools/make_version_header.sh @@ -1,2 +1,2 @@ #!/bin/sh -python tools/make_version_header.py include/cef_version.h +python3 tools/make_version_header.py include/cef_version.h diff --git a/tools/patch.sh b/tools/patch.sh index eb97c53ab..c7d3ee155 100755 --- a/tools/patch.sh +++ b/tools/patch.sh @@ -1,2 +1,2 @@ #!/bin/sh -python tools/patcher.py +python3 tools/patcher.py diff --git a/tools/patch_updater.sh b/tools/patch_updater.sh index 17b34134f..4c3cb1279 100755 --- a/tools/patch_updater.sh +++ b/tools/patch_updater.sh @@ -1,2 +1,2 @@ #!/bin/sh -python tools/patch_updater.py $@ +python3 tools/patch_updater.py $@ diff --git a/tools/translator.sh b/tools/translator.sh index 9304a9f1f..9cdb1e067 100755 --- a/tools/translator.sh +++ b/tools/translator.sh @@ -1,2 +1,2 @@ #!/bin/sh -python translator.py --root-dir .. $@ +python3 translator.py --root-dir .. $@