aoc-get: fix variable setting bug
This commit is contained in:
parent
1973fead31
commit
48f1a4ffeb
|
@ -25,7 +25,7 @@ end
|
||||||
# automatically set day if we're in December, otherwise require a value
|
# automatically set day if we're in December, otherwise require a value
|
||||||
set --local flag_day
|
set --local flag_day
|
||||||
if set --query _flag_day
|
if set --query _flag_day
|
||||||
set flag_day _flag_day
|
set flag_day $_flag_day
|
||||||
else
|
else
|
||||||
set --local month (date +%-m)
|
set --local month (date +%-m)
|
||||||
if [ $month -eq 12 ]
|
if [ $month -eq 12 ]
|
||||||
|
|
Loading…
Reference in a new issue