aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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