summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2015-02-20 14:12:51 +0100
committerBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2015-02-20 14:12:51 +0100
commit30f1968ff3e8b236cd477de30ccac812e2c6bf9b (patch)
tree3fb401035f823da6b1f5109e637e22a77001b91c
parentFix issue with Linux specific code not compiling (#261) (diff)
downloadHeimdall-30f1968ff3e8b236cd477de30ccac812e2c6bf9b.tar
Heimdall-30f1968ff3e8b236cd477de30ccac812e2c6bf9b.tar.gz
Heimdall-30f1968ff3e8b236cd477de30ccac812e2c6bf9b.tar.bz2
Heimdall-30f1968ff3e8b236cd477de30ccac812e2c6bf9b.tar.lz
Heimdall-30f1968ff3e8b236cd477de30ccac812e2c6bf9b.tar.xz
Heimdall-30f1968ff3e8b236cd477de30ccac812e2c6bf9b.tar.zst
Heimdall-30f1968ff3e8b236cd477de30ccac812e2c6bf9b.zip
-rwxr-xr-xOSX/install-kext.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/OSX/install-kext.sh b/OSX/install-kext.sh
index 1bd0cf8..3eaed99 100755
--- a/OSX/install-kext.sh
+++ b/OSX/install-kext.sh
@@ -1,6 +1,7 @@
#!/bin/bash
+BASEDIR=$(dirname $0)
echo 'Installing Driver...'
-sudo cp -R heimdall.kext /System/Library/Extensions
+sudo cp -R "$BASEDIR/heimdall.kext" /System/Library/Extensions
sudo chmod -R 755 /System/Library/Extensions/heimdall.kext
sudo chown -R root:wheel /System/Library/Extensions/heimdall.kext
sudo kextload /System/Library/Extensions/heimdall.kext