From 6988383493e172f90f61b14ac23c89fdec255d1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Thu, 12 Sep 2024 16:21:35 +0200 Subject: [PATCH] Rename patch.sh to patch and chmod +x and add shebang, for compat with python --- tools/autopatches/patches/add-cpe/{patch.sh => patch} | 0 tools/autopatches/patches/add-schemas/{patch.sh => patch} | 0 tools/autopatches/patches/delete-log-removal/{patch.sh => patch} | 0 .../patches/issue-and-pr-template/{patch.sh => patch} | 1 + .../patches/missing-seteu-in-change_url/{patch.sh => patch} | 1 + .../patches/new-permission-system/{patch.sh => patch} | 1 + 6 files changed, 3 insertions(+) rename tools/autopatches/patches/add-cpe/{patch.sh => patch} (100%) mode change 100644 => 100755 rename tools/autopatches/patches/add-schemas/{patch.sh => patch} (100%) mode change 100644 => 100755 rename tools/autopatches/patches/delete-log-removal/{patch.sh => patch} (100%) mode change 100644 => 100755 rename tools/autopatches/patches/issue-and-pr-template/{patch.sh => patch} (96%) mode change 100644 => 100755 rename tools/autopatches/patches/missing-seteu-in-change_url/{patch.sh => patch} (93%) mode change 100644 => 100755 rename tools/autopatches/patches/new-permission-system/{patch.sh => patch} (99%) mode change 100644 => 100755 diff --git a/tools/autopatches/patches/add-cpe/patch.sh b/tools/autopatches/patches/add-cpe/patch old mode 100644 new mode 100755 similarity index 100% rename from tools/autopatches/patches/add-cpe/patch.sh rename to tools/autopatches/patches/add-cpe/patch diff --git a/tools/autopatches/patches/add-schemas/patch.sh b/tools/autopatches/patches/add-schemas/patch old mode 100644 new mode 100755 similarity index 100% rename from tools/autopatches/patches/add-schemas/patch.sh rename to tools/autopatches/patches/add-schemas/patch diff --git a/tools/autopatches/patches/delete-log-removal/patch.sh b/tools/autopatches/patches/delete-log-removal/patch old mode 100644 new mode 100755 similarity index 100% rename from tools/autopatches/patches/delete-log-removal/patch.sh rename to tools/autopatches/patches/delete-log-removal/patch diff --git a/tools/autopatches/patches/issue-and-pr-template/patch.sh b/tools/autopatches/patches/issue-and-pr-template/patch old mode 100644 new mode 100755 similarity index 96% rename from tools/autopatches/patches/issue-and-pr-template/patch.sh rename to tools/autopatches/patches/issue-and-pr-template/patch index d52d3b02e4..3d31cec187 --- a/tools/autopatches/patches/issue-and-pr-template/patch.sh +++ b/tools/autopatches/patches/issue-and-pr-template/patch @@ -1,3 +1,4 @@ +#!/usr/bin/env bash [ ! -e issue_template.md ] || git rm issue_template.md [ ! -e pull_request_template.md ] || git rm pull_request_template.md diff --git a/tools/autopatches/patches/missing-seteu-in-change_url/patch.sh b/tools/autopatches/patches/missing-seteu-in-change_url/patch old mode 100644 new mode 100755 similarity index 93% rename from tools/autopatches/patches/missing-seteu-in-change_url/patch.sh rename to tools/autopatches/patches/missing-seteu-in-change_url/patch index f930134882..9f6cfa90f6 --- a/tools/autopatches/patches/missing-seteu-in-change_url/patch.sh +++ b/tools/autopatches/patches/missing-seteu-in-change_url/patch @@ -1,3 +1,4 @@ +#!/usr/bin/env bash cd scripts/ diff --git a/tools/autopatches/patches/new-permission-system/patch.sh b/tools/autopatches/patches/new-permission-system/patch old mode 100644 new mode 100755 similarity index 99% rename from tools/autopatches/patches/new-permission-system/patch.sh rename to tools/autopatches/patches/new-permission-system/patch index f372a44f59..c6b9afcc4f --- a/tools/autopatches/patches/new-permission-system/patch.sh +++ b/tools/autopatches/patches/new-permission-system/patch @@ -1,3 +1,4 @@ +#!/usr/bin/env bash cd scripts/