This commit is contained in:
Felix Van der Jeugt 2021-12-09 09:59:55 +01:00
parent 5df13ab159
commit ef0775f5e2
No known key found for this signature in database
GPG Key ID: 58B209295023754D
2 changed files with 2 additions and 2 deletions

2
clean
View File

@ -2,7 +2,7 @@
day="$1"
part="$2"
day="$(printf '%02d' "$day")"
day="$(printf '%02d' "${day##0}")"
rm -f ./run
rm -f "day${1}/part${2}.hi" "day${1}/part${2}.o"

View File

@ -2,7 +2,7 @@
day="$1"
part="$2"
day="$(printf '%02d' "$day")"
day="$(printf '%02d' "${day##0}")"
if test -f "day${day}/part${part}.lua"; then
/usr/bin/env luajit -v >/dev/null