Skip to content

Commit

Permalink
Merge pull request mozilla-b2g#30198 from andreastt/bug_1167567
Browse files Browse the repository at this point in the history
Bug 1167567 - Fix path to Gaia profile in mozilla-profile-builder; r=gaye
  • Loading branch information
andreastt committed May 22, 2015
2 parents e71b0cb + bd8551d commit d43f7bb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -25,8 +25,8 @@ function gaiaProfile (basePath, callback) {

var linux = fsPath.join(basePath, 'gaia', 'profile');
fs.exists(linux, next.bind(null, linux));
var osx = fsPath.join(basePath, 'Contents', 'MacOS', 'gaia', 'profile');
fs.exists(osx, next.bind(null, osx));
var macos = fsPath.join(basePath, 'Contents', 'Resources', 'gaia', 'profile');
fs.exists(macos, next.bind(null, macos));
}

module.exports = gaiaProfile;
Expand Up @@ -8,7 +8,7 @@ suite('#gaiaProfile', function() {
test('mac', function(done) {
subject(mac, function(err, path) {
if (err) return done(err);
assert.equal(path, mac + '/Contents/MacOS/gaia/profile');
assert.equal(path, mac + '/Contents/Resources/gaia/profile');
done();
});
});
Expand Down

0 comments on commit d43f7bb

Please sign in to comment.