Commit 2147bb15 authored by iggy@amd64.(none)'s avatar iggy@amd64.(none)

Merge amd64.(none):/src/bug24732/my50-bug24732

into  amd64.(none):/src/bug24732/my51-bug24732
parents b0692ac9 5fc6a73b
...@@ -27,7 +27,11 @@ try ...@@ -27,7 +27,11 @@ try
var app_name= parts[1]; var app_name= parts[1];
break; break;
case "version": case "version":
var app_version= parts[1]; var supp_version= parts[1];
// Clean up the supplied version string.
var end= supp_version.indexOf("-");
if (end == -1) end= supp_version.length;
var app_version= supp_version.substring(0, end);
app_version+= ".0"; app_version+= ".0";
break; break;
case "arch": case "arch":
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment