sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Ismael Luceno (65bf27fde92f66bbb797266a4e26fc347cd5e446)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (65bf27fde92f66bbb797266a4e26fc347cd5e446)
- Date: Tue, 13 Sep 2011 11:05:51 -0500
GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:
FUNCTIONS | 5 +----
1 files changed, 1 insertion(+), 4 deletions(-)
New commits:
commit 65bf27fde92f66bbb797266a4e26fc347cd5e446
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
FUNCTIONS: Simplify get_up_spell_name
diff --git a/FUNCTIONS b/FUNCTIONS
index 18cddf1..3222e18 100755
--- a/FUNCTIONS
+++ b/FUNCTIONS
@@ -693,10 +693,7 @@ function prepare_scm_queries() {
## Get uppercase spell name with _ instead of -
#---
function get_up_spell_name() {
- local spell=${1:-$SPELL}
- local up_spell_name=$(echo $spell | tr "a-z" "A-Z") &&
- local up_spell_name=$(echo $up_spell_name | tr "-" "_") &&
- echo $up_spell_name
+ echo ${1:-$SPELL} | tr "a-z-" "A-Z_"
}
# Move SPELL_OPTS to OPTS
- [SM-Commit] GIT changes to master grimoire by Ismael Luceno (65bf27fde92f66bbb797266a4e26fc347cd5e446), Ismael Luceno, 09/13/2011
Archive powered by MHonArc 2.6.24.