aboutsummaryrefslogtreecommitdiff
path: root/patches/eowyn.sh
diff options
context:
space:
mode:
authorjacob gw <jacoblevgw@gmail.com>2021-03-01 23:41:34 -0500
committerjacob gw <jacoblevgw@gmail.com>2021-03-01 23:41:34 -0500
commit54f9cfc0f0298a42473a109ee0f4eaf89710f153 (patch)
tree91667b8481a9ba6b90c71dfa941bc99e189d4ae3 /patches/eowyn.sh
parent95bdff5bfdf3c4300b844e14251cd3dcfcd76ef8 (diff)
downloadziglings-54f9cfc0f0298a42473a109ee0f4eaf89710f153.tar.gz
ziglings-54f9cfc0f0298a42473a109ee0f4eaf89710f153.tar.bz2
ziglings-54f9cfc0f0298a42473a109ee0f4eaf89710f153.tar.xz
ziglings-54f9cfc0f0298a42473a109ee0f4eaf89710f153.zip
patches: make interpreter compat and make work if not in PATH
Diffstat (limited to 'patches/eowyn.sh')
-rwxr-xr-xpatches/eowyn.sh4
1 files changed, 2 insertions, 2 deletions
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.