Skip to content

Commit

Permalink
Fix the git checkout to be independent of CWD too
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Caswell committed Feb 4, 2010
1 parent 997c858 commit 3730199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder.js
Expand Up @@ -52,7 +52,7 @@ function build(data, next) {

if (data) {
log("Pulling latest changes to content");
exec("cd data && git pull origin master").addCallback(function (stdout, stderr) {
exec("cd " + __dirname + "/data && git pull origin master").addCallback(function (stdout, stderr) {
real_build();
});
} else {
Expand Down

0 comments on commit 3730199

Please sign in to comment.