From 54f9cfc0f0298a42473a109ee0f4eaf89710f153 Mon Sep 17 00:00:00 2001 From: jacob gw Date: Mon, 1 Mar 2021 23:41:34 -0500 Subject: patches: make interpreter compat and make work if not in PATH --- patches/gollum.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'patches/gollum.sh') 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 -- cgit v1.2.3-ZIG