diff options
Diffstat (limited to 'install-template.sh')
-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 adb4563..0856501 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 '[:lower:]' '[:upper:]' | tr -- '-' '_') local v="CFG_${uop}" eval $v="$default" for arg in $CFG_ARGS |