mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-24 03:50:14 +10:00
Scripts: Handle output escapes in El Capitan
This commit is contained in:
@@ -43,7 +43,7 @@ function _removeFile() {
|
||||
function _createParentDirectory() {
|
||||
local currentFile=$1
|
||||
|
||||
local parentDirectory=$(/usr/bin/dirname $currentFile)
|
||||
local parentDirectory="$(/usr/bin/dirname $currentFile)"
|
||||
|
||||
# Check if parent directory exists
|
||||
if [[ ! -d $parentDirectory ]]; then
|
||||
|
||||
Reference in New Issue
Block a user