Skip to content

Commit 7564b08

Browse files
Oliver Weilermarc0der
authored andcommitted
Revert "Declare line_without_comments as local and readonly"
This reverts commit 6ff6c07.
1 parent 8d19c87 commit 7564b08

File tree

2 files changed

+1
-24
lines changed

2 files changed

+1
-24
lines changed

src/main/bash/sdkman-auto-env.sh

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/main/bash/sdkman-env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function __sdkman_is_blank_line() {
7676
}
7777

7878
function __sdkman_normalise() {
79-
local -r line_without_comments="${1/\#*/}"
79+
local line_without_comments="${1/\#*/}"
8080

8181
echo "${line_without_comments//[[:space:]]/}"
8282
}

0 commit comments

Comments
 (0)