From d9fe3a736e34cae9dd47396505e2b2f2c8ab7f56 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Wed, 23 Feb 2011 20:40:09 -0500 Subject: Fix live XPI update. --- common/modules/config.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/modules/config.jsm') diff --git a/common/modules/config.jsm b/common/modules/config.jsm index 9743df7c..d1680f73 100644 --- a/common/modules/config.jsm +++ b/common/modules/config.jsm @@ -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. */ -- cgit v1.2.3