From 9d82f34f530a0795089b704662f2b11a4361a045 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Thu, 20 Feb 2025 16:01:07 -0500 Subject: [PATCH] Fix shebangs and permissions --- tools/configure.py | 2 +- tools/m2ctx.py | 2 +- tools/ninja_syntax.py | 2 -- tools/setup.py | 2 ++ tools/sha1.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) mode change 100644 => 100755 tools/configure.py mode change 100644 => 100755 tools/setup.py mode change 100644 => 100755 tools/sha1.py diff --git a/tools/configure.py b/tools/configure.py old mode 100644 new mode 100755 index f3c34311..45d9824a --- a/tools/configure.py +++ b/tools/configure.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import os from pathlib import Path diff --git a/tools/m2ctx.py b/tools/m2ctx.py index f2275e33..7c20c34a 100755 --- a/tools/m2ctx.py +++ b/tools/m2ctx.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys import pyperclip diff --git a/tools/ninja_syntax.py b/tools/ninja_syntax.py index 2aa8456e..e0716e8a 100644 --- a/tools/ninja_syntax.py +++ b/tools/ninja_syntax.py @@ -1,5 +1,3 @@ -#!/usr/bin/python - # Copyright 2011 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tools/setup.py b/tools/setup.py old mode 100644 new mode 100755 index f81ca25d..6e83c64a --- a/tools/setup.py +++ b/tools/setup.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + import requests import zipfile import io diff --git a/tools/sha1.py b/tools/sha1.py old mode 100644 new mode 100755 index 8cd6edd8..fd1cbda8 --- a/tools/sha1.py +++ b/tools/sha1.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from pathlib import Path import argparse