diff options
author | Michael Forney <mforney@mforney.org> | 2020-02-04 13:15:30 -0800 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2020-02-04 13:15:30 -0800 |
commit | 0d0a41fd07de305ef31ed39488b61f297264d200 (patch) | |
tree | 254b763527490a69f49b65b699b2ab06043d0e80 | |
parent | 0516f832b37e2da671eaae12258c227098d85d87 (diff) | |
download | rust-installer-0d0a41fd07de305ef31ed39488b61f297264d200.tar.gz |
Use the same tr command as the rest of the file
-rw-r--r-- | install-template.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install-template.sh b/install-template.sh index 0856501..e68be89 100644 --- a/install-template.sh +++ b/install-template.sh @@ -169,7 +169,7 @@ valopt() { local doc="$*" if [ $HELP -eq 0 ] then - local uop=$(echo $op | tr '[:lower:]' '[:upper:]' | tr -- '-' '_') + local uop=$(echo $op | tr 'a-z-' 'A-Z_') local v="CFG_${uop}" eval $v="$default" for arg in $CFG_ARGS |