aoc-get: fix variable setting bug

This commit is contained in:
Antoine Martin 2021-12-06 16:02:45 +01:00
parent 1973fead31
commit 48f1a4ffeb

View file

@ -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 ]