From 80c5c2eb3e173f533c7999b364c1a469a3e7c17e Mon Sep 17 00:00:00 2001 From: Alexander Yastrebov Date: Fri, 12 Jan 2024 08:25:43 +0100 Subject: Use bash in prepare scripts (#339) Prepare scripts that use `#!/bin/sh` and `source "$HOME/.sdkman/bin/sdkman-init.sh"` fail on systems where `sh` is not `bash`, e.g. on Ubuntu it is `dash` which has not `source`. --- prepare_hundredwatt.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'prepare_hundredwatt.sh') diff --git a/prepare_hundredwatt.sh b/prepare_hundredwatt.sh index 90a0a42..ef131d3 100755 --- a/prepare_hundredwatt.sh +++ b/prepare_hundredwatt.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright 2023 The original authors # @@ -15,6 +15,5 @@ # limitations under the License. # - source "$HOME/.sdkman/bin/sdkman-init.sh" sdk use java 21.0.1-graal -- cgit v1.2.3