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/eowyn.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'patches/eowyn.sh') diff --git a/patches/eowyn.sh b/patches/eowyn.sh index 5a802f6..f9e7479 100755 --- a/patches/eowyn.sh +++ b/patches/eowyn.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # "I will be a shieldmaiden no longer, # nor vie with the great Riders, nor @@ -14,7 +14,7 @@ # # We run from the patches dir. Go there now if not already. -cd $(dirname $(which $0)) +cd $(dirname $(realpath $0)) pwd # Show it upon the screen so all shall be made apparent. # Create healed/ directory here if it doesn't already exist. -- cgit v1.2.3-ZIG