Browse Source

Stop stomping 'mname' global

Define it as local and keep it.
Alois Mahdal 5 years ago
parent
commit
ff4a9a4745
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/shellfu.sh.skel

+ 1
- 0
src/shellfu.sh.skel View File

@@ -185,6 +185,7 @@ shellfu() {
185 185
             # Show version of module named $1
186 186
             #
187 187
             local mname=$1
188
+            local mpath
188 189
             mpath=$(shellfu _select_mfile "$mname") || {
189 190
                 shellfu __warn "cannot find module: $mname"
190 191
                 return 3