chore(tools): fix parsed as octal
This commit is contained in:
parent
071ed13c4f
commit
38f158b30d
2
cmd.txt
2
cmd.txt
|
@ -1 +1,3 @@
|
|||
. .venv/bin/activate
|
||||
export PYTHONPATH=${PYTHONPATH:-$(realpath lib)}
|
||||
command cd "$(./get_input.sh)" && less input
|
||||
|
|
|
@ -5,6 +5,7 @@ cd "$(dirname $(realpath $0))"
|
|||
. .env
|
||||
|
||||
d=$(date +%d)
|
||||
e=$(bc <<< "$d + 0")
|
||||
|
||||
mkdir -p d${d}
|
||||
cd d${d}
|
||||
|
@ -16,6 +17,6 @@ cd d${d}
|
|||
-H 'Connection: close' \
|
||||
-H "Cookie: session=$SESSION" \
|
||||
-o input \
|
||||
"https://adventofcode.com/2024/day/$(( $d + 0 ))/input"
|
||||
"https://adventofcode.com/2024/day/$e/input"
|
||||
|
||||
echo $(realpath .)
|
||||
|
|
Loading…
Reference in New Issue