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 | |
| 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`.
| -rwxr-xr-x | prepare_hundredwatt.sh | 3 | ||||
| -rwxr-xr-x | prepare_kuduwa-keshavram.sh | 2 | ||||
| -rwxr-xr-x | prepare_mtopolnik.sh | 2 | ||||
| -rwxr-xr-x | prepare_ricardopieper.sh | 2 | ||||
| -rwxr-xr-x | prepare_roman-r-m.sh | 4 |
5 files changed, 6 insertions, 7 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 diff --git a/prepare_kuduwa-keshavram.sh b/prepare_kuduwa-keshavram.sh index a705f17..f83a3ff 100755 --- a/prepare_kuduwa-keshavram.sh +++ b/prepare_kuduwa-keshavram.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright 2023 The original authors # diff --git a/prepare_mtopolnik.sh b/prepare_mtopolnik.sh index a705f17..f83a3ff 100755 --- a/prepare_mtopolnik.sh +++ b/prepare_mtopolnik.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright 2023 The original authors # diff --git a/prepare_ricardopieper.sh b/prepare_ricardopieper.sh index a705f17..f83a3ff 100755 --- a/prepare_ricardopieper.sh +++ b/prepare_ricardopieper.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright 2023 The original authors # diff --git a/prepare_roman-r-m.sh b/prepare_roman-r-m.sh index 6a33e2b..f83a3ff 100755 --- a/prepare_roman-r-m.sh +++ b/prepare_roman-r-m.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright 2023 The original authors # @@ -16,4 +16,4 @@ # source "$HOME/.sdkman/bin/sdkman-init.sh" -sdk use java 21.0.1-graal 1>&2
\ No newline at end of file +sdk use java 21.0.1-graal 1>&2 |
