From 94eb3784edef854e8d0db00aaed1278ac13b5904 Mon Sep 17 00:00:00 2001 From: cos Date: Mon, 17 Dec 2012 18:49:35 +0100 Subject: Add to db when button is pressed on the scales. --- sts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sts b/sts index 02fa20d..2f910f7 100755 --- a/sts +++ b/sts @@ -1,4 +1,6 @@ #!/bin/sh # scale triggered store -mat storemeal `cat $HOME/mat/matplan/currently_cooking` "$1" y0 +cd $HOME/mat/matplan/ +./mat storeportion `cat currently_cooking` "$1" hemfrys + -- cgit v1.2.3