diff --git a/build/scripts/setup/script.d/03-setup-casaos.sh b/build/scripts/setup/script.d/03-setup-casaos.sh index 6b4fad1..2a96d35 100755 --- a/build/scripts/setup/script.d/03-setup-casaos.sh +++ b/build/scripts/setup/script.d/03-setup-casaos.sh @@ -45,7 +45,7 @@ SETUP_SCRIPT_FILEPATH="${SETUP_SCRIPT_DIRECTORY}/${SETUP_SCRIPT_FILENAME}" { echo "🟩 Running ${SETUP_SCRIPT_FILENAME}..." - $SHELL "${SETUP_SCRIPT_FILEPATH}" "${BUILD_PATH}" + $BASH "${SETUP_SCRIPT_FILEPATH}" "${BUILD_PATH}" } || { echo "🟥 ${SETUP_SCRIPT_FILENAME} failed." exit 1 diff --git a/build/sysroot/usr/share/casaos/cleanup/script.d/03-cleanup-casaos.sh b/build/sysroot/usr/share/casaos/cleanup/script.d/03-cleanup-casaos.sh index ce29b6d..ba57bb0 100755 --- a/build/sysroot/usr/share/casaos/cleanup/script.d/03-cleanup-casaos.sh +++ b/build/sysroot/usr/share/casaos/cleanup/script.d/03-cleanup-casaos.sh @@ -43,4 +43,4 @@ readonly SETUP_SCRIPT_FILENAME="cleanup-${APP_NAME_SHORT}.sh" readonly SETUP_SCRIPT_FILEPATH="${SETUP_SCRIPT_DIRECTORY}/${SETUP_SCRIPT_FILENAME}" echo "🟩 Running ${SETUP_SCRIPT_FILENAME}..." -$SHELL "${SETUP_SCRIPT_FILEPATH}" "${BUILD_PATH}" +$BASH "${SETUP_SCRIPT_FILEPATH}" "${BUILD_PATH}"