diff options
author | Dave Gauer <ratfactor@gmail.com> | 2021-03-02 20:07:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-02 20:07:03 -0500 |
commit | c204ac929107ac7a124ed04e4f7c5a3ad9574809 (patch) | |
tree | 91667b8481a9ba6b90c71dfa941bc99e189d4ae3 /patches/gollum.sh | |
parent | 28791f0cb8df075199862b1367e3ed3ede692fd7 (diff) | |
parent | 81e819ca6b144fc4c4cd2f284992aa5c7bddb112 (diff) |
Merge pull request #29 from g-w1/scr
patches: make interpreter compat and make work if not in PATH
Diffstat (limited to 'patches/gollum.sh')
-rwxr-xr-x | patches/gollum.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/gollum.sh b/patches/gollum.sh index 423d376..6531044 100755 --- a/patches/gollum.sh +++ b/patches/gollum.sh @@ -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 |