Skip to content
Snippets Groups Projects
Commit a9faf774 authored by Jorrit Fahlke's avatar Jorrit Fahlke
Browse files

fix tr invocation for SunOS

[[Imported from SVN: r5395]]
parent ba957764
No related branches found
No related tags found
No related merge requests found
...@@ -367,7 +367,9 @@ eval_control() { ...@@ -367,7 +367,9 @@ eval_control() {
# $2 value # $2 value
# #
fix_variable_name() { fix_variable_name() {
echo -n "$@" | tr '[:punct:]' '__' # The replacement sequence has to be extended explicitly the the length of
# the matching set for SunOS compatibility
echo -n "$@" | tr '[:punct:]' '[_*]'
} }
fix_and_assign() { fix_and_assign() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment