Improved helper scripts

This commit is contained in:
2023-11-28 15:24:58 +00:00
parent af2687fe11
commit f09473b5cc
4 changed files with 7 additions and 5 deletions

View File

@@ -10,11 +10,11 @@ if [ -z "$2" ]; then
exit;
fi
if [ $2 > 25 ]; then
if [ ${2} -ge 25 ]; then
echo "Invalid day"
exit;
fi
cd $1
./run_day $2
./run_day $2 $1