summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authormhsn <mail@mhsn.net>2025-03-19 21:08:46 +0000
committermhsn <mail@mhsn.net>2025-03-19 21:08:46 +0000
commit13e1c55ca006edb1aeffbe24f2d434fce85c71f1 (patch)
treeb6bef6628332f8e4b059313da116ec9cb6370234 /check
parente7f48462a1192cfe6520878cd8cb87ee1c272ac3 (diff)
downloadaoc-13e1c55ca006edb1aeffbe24f2d434fce85c71f1.tar.gz
aoc-13e1c55ca006edb1aeffbe24f2d434fce85c71f1.zip
update check to use yash
Diffstat (limited to 'check')
-rwxr-xr-xcheck4
1 files changed, 2 insertions, 2 deletions
diff --git a/check b/check
index 06f444b..a2509b3 100755
--- a/check
+++ b/check
@@ -1,4 +1,4 @@
-#!/usr/bin/env zsh
+#!/usr/bin/env yash
year=$1
day=$2
@@ -21,5 +21,5 @@ else
exit 1
fi
-diff <(echo $got) "$aoc_path/data/$4.ans" && echo "Solved with $lang!"
+diff $aoc_path/data/$4.ans - <(echo "$got") && echo Solved wtih $lang!
echo $got