Permalink
Browse files

Changing to use tmp directory which should work on ephermal file syst…

…em on heroku
  • Loading branch information...
1 parent ccb86a8 commit bff2a69ba5a9696a3b49f6d2085ceefcf4750234 @donnfelker donnfelker committed Sep 10, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −1 routes/generate.js
  2. +1 −0 tmp/.gitkeep
View
2 routes/generate.js
@@ -34,7 +34,7 @@ exports.index = function(req, res) {
var sourceDir = process.env.PWD + '/android-bootstrap';
// Temporary locationwhere the users project will be generated.
- var destDir = process.env.TMPDIR + packageName;
+ var destDir = process.env.PWD + '/tmp/' + packageName;
console.log("sourceDir: " + sourceDir);
console.log("destDir: " + destDir);
View
1 tmp/.gitkeep
@@ -0,0 +1 @@
+# Keepfile for git.

0 comments on commit bff2a69

Please sign in to comment.