1
0

build: workaround for 'realpath' missing on macOS

This commit is contained in:
SomberNight
2020-02-11 16:06:32 +01:00
parent 4cec098d2d
commit 5b84e714f2
3 changed files with 8 additions and 6 deletions

View File

@@ -21,7 +21,3 @@ function DoCodeSignMaybe { # ARGS: infoName fileOrDirName codesignIdentity
info "Code signing ${infoName}..."
codesign -f -v $deep -s "$identity" "$file" || fail "Could not code sign ${infoName}"
}
function realpath() {
[[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"
}