diff --git a/arch-chroot.in b/arch-chroot.in index 03efbc9..0868a2a 100644 --- a/arch-chroot.in +++ b/arch-chroot.in @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0-only shopt -s extglob diff --git a/common b/common index 0e5ab19..ced125b 100644 --- a/common +++ b/common @@ -1,4 +1,7 @@ +#!/hint/bash +# SPDX-License-Identifier: GPL-2.0-only # shellcheck disable=SC2059 # $1 and $2 can contain the printf modifiers + out() { printf "$1 $2\n" "${@:3}"; } error() { out "==> ERROR:" "$@"; } >&2 warning() { out "==> WARNING:" "$@"; } >&2 diff --git a/fstab-helpers b/fstab-helpers index 85c3c85..f8066f9 100644 --- a/fstab-helpers +++ b/fstab-helpers @@ -1,3 +1,6 @@ +#!/hint/bash +# SPDX-License-Identifier: GPL-2.0-only + # generated from util-linux source: libmount/src/utils.c declare -A pseudofs_types=([anon_inodefs]=1 [apparmorfs]=1 diff --git a/genfstab.in b/genfstab.in index 0269374..6dc9d71 100644 --- a/genfstab.in +++ b/genfstab.in @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0-only shopt -s extglob diff --git a/pacstrap.in b/pacstrap.in index 0f88631..c993565 100644 --- a/pacstrap.in +++ b/pacstrap.in @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0-only # # Assumptions: