patches: make interpreter compat and make work if not in PATH
This commit is contained in:
parent
95bdff5bfd
commit
54f9cfc0f0
2 changed files with 5 additions and 5 deletions
|
|
@ -1,12 +1,12 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
#
|
||||
# "It isn't fair, my precious, is it,
|
||||
# to ask us what it's got in it's
|
||||
# nassty little pocketsess?"
|
||||
# Gollum, The Hobbit, or There and Back Again
|
||||
# Gollum, The Hobbit, or There and Back Again
|
||||
#
|
||||
|
||||
cd $(dirname $(which $0))
|
||||
cd $(dirname $(realpath $0))
|
||||
f=$(basename ../exercises/$1*.zig .zig 2> /dev/null)
|
||||
b=../exercises/$f.zig
|
||||
a=../answers/$f.zig
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue