summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cook.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cook.c b/src/cook.c
index 19eaa14..e3e104c 100644
--- a/src/cook.c
+++ b/src/cook.c
@@ -119,6 +119,7 @@ main(int argc, char * argv[])
if (opt.new) {
recipe * r = new_recipe();
+ r->path = strdup(".");
char err[1000] = "";
int rc = 0;