From 48f1a4ffeb7bdb13b1d2caac88934fff7bf56a22 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 6 Dec 2021 16:02:45 +0100 Subject: [PATCH] aoc-get: fix variable setting bug --- aoc-get/aoc-get | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aoc-get/aoc-get b/aoc-get/aoc-get index 8acbbaa..007569a 100755 --- a/aoc-get/aoc-get +++ b/aoc-get/aoc-get @@ -25,7 +25,7 @@ end # automatically set day if we're in December, otherwise require a value set --local flag_day if set --query _flag_day - set flag_day _flag_day + set flag_day $_flag_day else set --local month (date +%-m) if [ $month -eq 12 ]