diff options
| author | Alexander Yastrebov <yastrebov.alex@gmail.com> | 2024-01-12 08:25:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-12 08:25:43 +0100 |
| commit | 80c5c2eb3e173f533c7999b364c1a469a3e7c17e (patch) | |
| tree | 21439a3f97dc898c0c5744c3b197ae86149373bc /prepare_hundredwatt.sh | |
| parent | 3127962ce20ed71adc83ada670fbb567da7134e2 (diff) | |
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`.
Diffstat (limited to 'prepare_hundredwatt.sh')
| -rwxr-xr-x | prepare_hundredwatt.sh | 3 |
1 files changed, 1 insertions, 2 deletions
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 |
