Permalink
Browse files

Fix the git checkout to be independent of CWD too

  • Loading branch information...
1 parent 997c858 commit 3730199a599e8e8e43ebe5fb5c13c340ec2978b7 Tim Caswell committed Feb 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 builder.js
View
@@ -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 {

0 comments on commit 3730199

Please sign in to comment.