summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcos <cos>2012-12-17 18:49:35 +0100
committercos <cos>2012-12-17 21:53:43 +0100
commit94eb3784edef854e8d0db00aaed1278ac13b5904 (patch)
tree49820bb55575051f82b0443fd380f2a720e4f57e
parent8516fe93ffbffc73b8f47c2d9804d533e82b9228 (diff)
downloadmat-94eb3784edef854e8d0db00aaed1278ac13b5904.zip
Add to db when button is pressed on the scales.
-rwxr-xr-xsts4
1 files changed, 3 insertions, 1 deletions
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
+