summaryrefslogtreecommitdiffstats
path: root/src/cook.c
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2022-11-10 10:17:29 +0200
committergramanas <anastasis.gramm2@gmail.com>2022-11-10 10:17:29 +0200
commit6b4fb66e50a566397ea68ec5e7ccb9196b6116da (patch)
tree72a315bf816a8ab3f1bd9381bcb1846d1fbabe2d /src/cook.c
parenta0bdc982adfea822a70849e779b2bb91285817ab (diff)
downloadfoodtools-6b4fb66e50a566397ea68ec5e7ccb9196b6116da.tar.gz
foodtools-6b4fb66e50a566397ea68ec5e7ccb9196b6116da.tar.bz2
foodtools-6b4fb66e50a566397ea68ec5e7ccb9196b6116da.zip
Add path
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;