Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

refactor 'versionswitcher.sh'

  • Loading branch information...
commit 54d048a0dd5be11bdf5f2b9561f9afcf8fb583f1 1 parent c7f1fe6
makoto kuwata authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/versionswitcher.sh
4 scripts/versionswitcher.sh
View
@@ -351,9 +351,9 @@ __vs_installable_versions() {
push @{$d{$ver}}, (exists($verdict{$v}) ? "$patch*" : $patch);
}
}
- sub norm { join ".", map { sprintf("%03d", $_) } split(/\./, $_[0]) }
+ #sub norm { join ".", map { sprintf("%03d", $_) } split(/\./, $_[0]) }
for (sort keys %d) {
- @arr = sort {$a<=>$b} @{$d{$_}};
+ @arr = sort {$a<=>$b} @{$d{$_}};
if ($#arr) { print $_, $sep, "{", join(",", @arr), "}\n"; }
elsif ($arr[0] eq "*") { print $_, "*\n"; }
elsif (length($arr[0])) { print $_, $sep, $arr[0], "\n"; }
Please sign in to comment.
Something went wrong with that request. Please try again.