Commits

Randy Stauner committed ef83e17

Localize function vars for good measure

Comments (0)

Files changed (1)

scripts/contrib.sh

 fi
 
 function dl () {
-  dest="$1" url="$2"
+  local dest="$1" url="$2"
   test -s "$dest" || wget "$url" -O "$dest"
 }
 
 function dl_bin () {
-  dest="$bin/$1"
+  local dest="$bin/$1"
   dl "$dest" "$2"
   chmod 0755 "$dest"
 }