From 93edb4aca047272660da17c72a304db90b6f2ded Mon Sep 17 00:00:00 2001 From: xofe <22776566+xofe@users.noreply.github.com> Date: Fri, 14 Aug 2020 06:15:30 +0000 Subject: [PATCH] Call `python3` rather than `python` in build scripts This prevents the build scripts failing when Python 2 isn't installed. --- tools/make-chromium.sh | 2 +- tools/make-firefox.sh | 2 +- tools/make-opera.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/make-chromium.sh b/tools/make-chromium.sh index e43a2fd..0f14f9e 100755 --- a/tools/make-chromium.sh +++ b/tools/make-chromium.sh @@ -19,7 +19,7 @@ cp ./platform/chromium/manifest.json $DES/ cp LICENSE.txt $DES/ echo "*** uMatrix.chromium: Generating meta..." -python tools/make-chromium-meta.py $DES/ +python3 tools/make-chromium-meta.py $DES/ if [ "$1" = all ]; then echo "*** uMatrix.chromium: Creating package..." diff --git a/tools/make-firefox.sh b/tools/make-firefox.sh index 47d6797..ae2e4c3 100755 --- a/tools/make-firefox.sh +++ b/tools/make-firefox.sh @@ -21,7 +21,7 @@ cp platform/firefox/*.js $DES/js/ cp platform/firefox/manifest.json $DES/ echo "*** uMatrix.firefox: Generating meta..." -python tools/make-firefox-meta.py $DES/ +python3 tools/make-firefox-meta.py $DES/ if [ "$1" = all ]; then echo "*** uMatrix.firefox: Creating package..." diff --git a/tools/make-opera.sh b/tools/make-opera.sh index eec0c2b..ffdb71a 100755 --- a/tools/make-opera.sh +++ b/tools/make-opera.sh @@ -34,6 +34,6 @@ cp -R ./src/_locales/tr $DES/_locales/ cp -R ./src/_locales/zh_TW $DES/_locales/ echo "*** uMatrix.opera: Generating meta..." -python tools/make-opera-meta.py $DES/ +python3 tools/make-opera-meta.py $DES/ echo "*** uMatrix.opera: Package done."