Skip to content

Commit e220b81

Browse files
committed
msctl: swap spaces and other chars in versions
1 parent 4a27e80 commit e220b81

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

msctl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,7 @@ getClientVersion() {
832832
$PERL -ne '
833833
$current_version="'$CURRENT_VERSION'";
834834
$_ =~ s/\$CURRENT_VERSION/$current_version/g;
835+
$_ =~ s/[\s#%*+?^\${}()|[\]\\]/-/g;
835836
print;
836837
'
837838
}
@@ -947,6 +948,7 @@ getServerVersion() {
947948
$PERL -ne '
948949
$current_version="'$CURRENT_VERSION'";
949950
$_ =~ s/\$CURRENT_VERSION/$current_version/g;
951+
$_ =~ s/[\s#%*+?^\${}()|[\]\\]/-/g;
950952
print;
951953
'
952954
}

0 commit comments

Comments
 (0)