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/