change input shebang
This commit is contained in:
		| @@ -1,4 +1,4 @@ | |||||||
| #!/usr/bin/env zsh | #!/usr/bin/env sh | ||||||
|  |  | ||||||
| get(){ | get(){ | ||||||
| 		curl -s --cookie "session=$1" "$2" | perl -pe 'chomp if eof' > "$3" | 		curl -s --cookie "session=$1" "$2" | perl -pe 'chomp if eof' > "$3" | ||||||
| @@ -14,7 +14,7 @@ for year in {2015..2023}; do | |||||||
| 			d="$day" | 			d="$day" | ||||||
| 		fi | 		fi | ||||||
| 		url="https://adventofcode.com/$year/day/$day/input" | 		url="https://adventofcode.com/$year/day/$day/input" | ||||||
| 		get "$1" "$url" "input/$year/$d" & | 		get "$1" "$url" "input/$year/$d" | ||||||
| 	done | 	done | ||||||
| 	touch "input/$year/test" | 	touch "input/$year/test" | ||||||
| done | done | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user