From 251a7f405e2cf04b0c3ef5ffb66a18adba9f9b14 Mon Sep 17 00:00:00 2001 From: Evan Burkey Date: Tue, 13 Aug 2024 08:32:35 -0700 Subject: [PATCH] change input shebang --- get_input.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/get_input.sh b/get_input.sh index bf5cc83..8dae29f 100755 --- a/get_input.sh +++ b/get_input.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env zsh +#!/usr/bin/env sh get(){ curl -s --cookie "session=$1" "$2" | perl -pe 'chomp if eof' > "$3" @@ -14,7 +14,7 @@ for year in {2015..2023}; do d="$day" fi url="https://adventofcode.com/$year/day/$day/input" - get "$1" "$url" "input/$year/$d" & + get "$1" "$url" "input/$year/$d" done touch "input/$year/test" done