diff options
author | bd-912 <bdunahu@colostate.edu> | 2024-05-08 03:23:52 -0600 |
---|---|---|
committer | bd-912 <bdunahu@colostate.edu> | 2024-05-08 03:23:52 -0600 |
commit | bf6c70d595e194e8688737b39f31d173436163d4 (patch) | |
tree | d8a84eb1b78c3c763472789414bc868c599d8378 /test.sh | |
parent | 6a27fdf4276772544d20074ab9abd02dab9c0a20 (diff) |
Fix issue with assigning a label to a register in Condense
Diffstat (limited to 'test.sh')
-rwxr-xr-x | test.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -6,7 +6,11 @@ ################################################## function java() { - expected=$(bash runner.sh java "$1.java") + base="$1" + if [[ $(basename $base) == *.* ]]; then + base="${base%.*}" + fi + expected=$(bash runner.sh java "${base}.java") } function match() { |