summaryrefslogtreecommitdiffstats
path: root/src/cook.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cook.c')
-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;