use bash instead of sh

This commit is contained in:
2026-03-28 00:29:38 +01:00
parent ff55ba690d
commit 61e0f1ca43
16 changed files with 16 additions and 16 deletions

View File

@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/bash
exit 0

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -eu
SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
MODULE_NAME=$(basename "$SCRIPT_DIR")

View File

@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/bash
echo "common-base live hook"

View File

@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/bash
exit 0

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -eu
SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
MODULE_NAME=$(basename "$SCRIPT_DIR")

View File

@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/bash
echo "common-base live hook"

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -eu
PHASE=${1:-}

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -eu
[ -n "${CURRENT_MODULE_ARTIFACT_DIR:-}" ] || { echo "CURRENT_MODULE_ARTIFACT_DIR is required" >&2; exit 2; }

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -eu
printf 'sample base chroot hook
' > /tmp/sample-base-hook.txt

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
fail() {
echo "ERROR: $*" >&2

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -eu
SELF_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -eu
SELF_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -eu
SELF_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -eu
SELF_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -eu
PHASE=${1:-}

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -eu
[ -n "${CURRENT_MODULE_ARTIFACT_DIR:-}" ] || { echo "CURRENT_MODULE_ARTIFACT_DIR is required" >&2; exit 2; }