diff --git a/Meta/build-image-extlinux.sh b/Meta/build-image-extlinux.sh index 9b4dcae772e..3647c677661 100755 --- a/Meta/build-image-extlinux.sh +++ b/Meta/build-image-extlinux.sh @@ -4,7 +4,7 @@ set -e script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P) -. "${script_path}/.shell_include.sh" +. "${script_path}/shell_include.sh" if [ "$(id -u)" != 0 ]; then set +e diff --git a/Meta/build-image-grub.sh b/Meta/build-image-grub.sh index 71ef767001a..4b486156136 100755 --- a/Meta/build-image-grub.sh +++ b/Meta/build-image-grub.sh @@ -4,7 +4,7 @@ set -e script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P) -. "${script_path}/.shell_include.sh" +. "${script_path}/shell_include.sh" if [ "$(id -u)" != 0 ]; then set +e diff --git a/Meta/build-image-limine.sh b/Meta/build-image-limine.sh index 06ccd4d8f82..e68ee4dcf2c 100755 --- a/Meta/build-image-limine.sh +++ b/Meta/build-image-limine.sh @@ -4,7 +4,7 @@ set -e script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P) -. "${script_path}/.shell_include.sh" +. "${script_path}/shell_include.sh" if [ ! -d "limine" ]; then echo "limine not found, the script will now build it" diff --git a/Meta/build-image-qemu.sh b/Meta/build-image-qemu.sh index 53a9c483cec..b7bb84ab660 100755 --- a/Meta/build-image-qemu.sh +++ b/Meta/build-image-qemu.sh @@ -3,7 +3,7 @@ set -e SCRIPT_DIR="$(dirname "${0}")" -. "${SCRIPT_DIR}/.shell_include.sh" +. "${SCRIPT_DIR}/shell_include.sh" USE_FUSE2FS=0 diff --git a/Meta/build-native-partition.sh b/Meta/build-native-partition.sh index 34237f59a34..8ebb3ba6a62 100755 --- a/Meta/build-native-partition.sh +++ b/Meta/build-native-partition.sh @@ -4,7 +4,7 @@ set -e script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P) -. "${script_path}/.shell_include.sh" +. "${script_path}/shell_include.sh" cleanup() { if [ -d mnt ]; then diff --git a/Meta/.shell_include.sh b/Meta/shell_include.sh old mode 100755 new mode 100644 similarity index 98% rename from Meta/.shell_include.sh rename to Meta/shell_include.sh index 17697e7250a..0d95a6b880e --- a/Meta/.shell_include.sh +++ b/Meta/shell_include.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash # shellcheck disable=SC2034 # SC2034: "Variable appears unused. Verify it or export it." # Those are intentional here, as the file is meant to be included elsewhere.