Skip to content

Commit 88a0956

Browse files
committed
bashlog: add back bash3.2 compatible uppercase
For now the perf issue of the shim is solved, so it's fine for debug logging to be of lower performance.
1 parent 8742a28 commit 88a0956

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/bashlog.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function log() {
3232
local pid="${$}";
3333

3434
local level="${1}";
35-
local upper="${level^^}";
35+
local upper="$(tr '[:lower:]' '[:upper:]')";
3636
local debug_level="${TFENV_DEBUG:-0}";
3737
local stdout_colours="${BASHLOG_COLOURS:-1}";
3838

0 commit comments

Comments
 (0)