1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-15 11:15:46 +01:00

Fix live XPI update.

This commit is contained in:
Kris Maglione
2011-02-23 20:40:09 -05:00
parent 80ca9194ec
commit d9fe3a736e
4 changed files with 11 additions and 9 deletions

View File

@@ -130,7 +130,7 @@ var ConfigBase = Class("ConfigBase", {
branch: Class.memoize(function () {
if (this.haveHg)
return io.system(this.haveHg.concat(["branch"])).output;
return (/pre-hg\d+-(.*)$/.exec(this.version) || [])[1];
return (/pre-hg\d+-(\S*)$/.exec(this.version) || [])[1];
}),
/** @property {string} The Dactyl version string. */