Skip to content

Commit

Permalink
installer: ExecutablePath not found when KEXT name is different
Browse files Browse the repository at this point in the history
  • Loading branch information
osy committed May 4, 2021
1 parent 3846a97 commit bb12527
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Installer/scripts/install_kexts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ do
$PLIST_BUDDY -c "Add :Kernel:Add:$i:MinKernel string $minKernel" "$CONFIG"
rm "$KEXTDIR/$base.MinKernel.txt" # no longer needed
fi
base="${base/.kext/}"
exe=`find "$line" -name "$base" -type f -maxdepth 3 | head -1`
exe=`find "$line" -path "*/Contents/MacOS/*" -type f -maxdepth 3 | head -1`
exe="${exe/$line\//}"
echo "ExecutablePath: $exe"
$PLIST_BUDDY -c "Add :Kernel:Add:$i:ExecutablePath string $exe" "$CONFIG"
Expand Down

0 comments on commit bb12527

Please sign in to comment.