summaryrefslogtreecommitdiff
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
commitcdc467939bd28eb06e7e4a9e95c4722e9fc934f9 (patch)
treeb6bef6628332f8e4b059313da116ec9cb6370234
parent1e182828bb9b3f8d0643a6eda3cd3b31eb85393c (diff)
downloadaoc-cdc467939bd28eb06e7e4a9e95c4722e9fc934f9.tar.gz
aoc-cdc467939bd28eb06e7e4a9e95c4722e9fc934f9.zip
update check to use yash
-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