diff options
author | Ismael Luceno | 2014-07-03 10:51:02 -0300 |
---|---|---|
committer | Ismael Luceno | 2014-07-03 10:51:02 -0300 |
commit | fc676197b8718a13742c0b6c26a0127ca5e476d9 (patch) | |
tree | e5a1bd7b055395e92388933aba33decb9ede1d3d | |
parent | 1cb0116b167025e3758bcdac6a9b70166e7dfb50 (diff) |
FUNCTIONS: Fix get_up_spell_name to handle the dot and plus symbols
-rw-r--r-- | ChangeLog | 3 | ||||
-rwxr-xr-x | FUNCTIONS | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,6 @@ +2014-07-03 Ismael Luceno <ismael@sourcemage.org> + * FUNCTIONS: Fix get_up_spell_name to handle the dot and plus symbols + 2014-07-02 Ismael Luceno <ismael@sourcemage.org> * FUNCTIONS: Added get_scm_version function @@ -659,7 +659,7 @@ function prepare_select_branch() { ## Get uppercase spell name with _ instead of - #--- function get_up_spell_name() { - echo ${1:-$SPELL} | tr "a-z-" "A-Z_" + echo ${1:-$SPELL} | tr "-.+a-z" "__XA-Z" } #--- |