Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…em on heroku
  • Loading branch information...
commit bff2a69ba5a9696a3b49f6d2085ceefcf4750234 1 parent ccb86a8
@donnfelker donnfelker authored
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.
Please sign in to comment.
Something went wrong with that request. Please try again.