diff options
author | Kris Maglione <maglione.k@gmail.com> | 2011-02-23 20:40:09 -0500 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2011-02-23 20:40:09 -0500 |
commit | d9fe3a736e34cae9dd47396505e2b2f2c8ab7f56 (patch) | |
tree | 10c391489121a54ea81da47dce6d2fc8e896c74b /common/modules/config.jsm | |
parent | 80ca9194ec2659e86661107ca81459c1e33c748a (diff) | |
download | pentadactyl-d9fe3a736e34cae9dd47396505e2b2f2c8ab7f56.tar.gz |
Fix live XPI update.
Diffstat (limited to 'common/modules/config.jsm')
-rw-r--r-- | common/modules/config.jsm | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |