summaryrefslogtreecommitdiffstats
path: root/ruby-raa
diff options
context:
space:
mode:
authorPavel Vinogradov2016-10-29 02:00:05 -0400
committerPavel Vinogradov2016-10-29 02:02:10 -0400
commit5d78342d85ef3a9067f1587a1ddef7eb85ec48aa (patch)
tree3d44202578a5b1114bc5a2e863723ef38d56e429 /ruby-raa
parent8b56924d940c4f64fae5efac646ddeef777a8cce (diff)
ruby-raa/FUNCTIONS: fixed for bash 4.4 substitution
Diffstat (limited to 'ruby-raa')
-rwxr-xr-xruby-raa/FUNCTIONS2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby-raa/FUNCTIONS b/ruby-raa/FUNCTIONS
index 7d32a1df18..e039ad1e91 100755
--- a/ruby-raa/FUNCTIONS
+++ b/ruby-raa/FUNCTIONS
@@ -3,7 +3,7 @@
#-------------------------------------------------------------------------
function default_build_ruby() {
local up_spell_name=$(echo $SPELL | tr "a-z" "A-Z") &&
- local up_spell_name=$(echo $SPELL | tr "-" "_") &&
+ up_spell_name=$(echo $up_spell_name | tr ".-" "_") &&
local tempopts="${up_spell_name}_OPTS" &&
OPTS="${!tempopts} $OPTS" &&
if [[ -e ./setup.rb ]]; then