From 45f203a72873d10a310d1c0dfc5ea33269cd75c2 Mon Sep 17 00:00:00 2001 From: davidh-ssec <david.hoese@ssec.wisc.edu> Date: Sat, 15 Jul 2017 11:27:58 -0500 Subject: [PATCH] Fix date usage in metobs_config.sh --- scripts/metobs_config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/metobs_config.sh b/scripts/metobs_config.sh index 11f4c2c..1138cba 100644 --- a/scripts/metobs_config.sh +++ b/scripts/metobs_config.sh @@ -24,7 +24,7 @@ oops() { } day_before() { - date %Y%m%d --date "$1 -1 day" + date +%Y%m%d --date "$1 -1 day" || oops "Could not get day before" } work_dir() { -- GitLab