summaryrefslogtreecommitdiff
path: root/sts
diff options
context:
space:
mode:
Diffstat (limited to 'sts')
-rwxr-xr-xsts6
1 files changed, 5 insertions, 1 deletions
diff --git a/sts b/sts
index 2f910f7..72771bd 100755
--- a/sts
+++ b/sts
@@ -2,5 +2,9 @@
# scale triggered store
cd $HOME/mat/matplan/
-./mat storeportion `cat currently_cooking` "$1" hemfrys
+if (grep -q v currently_cooking); then
+ PRINT_WITH_LOGO=y ./mat storeportion `cat currently_cooking|sed 's/v//'` "$1" hemfrys
+else
+ ./mat storeportion `cat currently_cooking|sed 's/v//'` "$1" hemfrys
+fi