diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-11-10 00:11:16 -0800 |
---|---|---|
committer | Nico Williams <nico@cryptonector.com> | 2019-12-30 17:48:45 -0600 |
commit | 839316e66b6bedd177935a436db5d622eae86204 (patch) | |
tree | e544e8cf4b1267bbf93bcdb812da91187505b551 | |
parent | d235e97f5eb085689c40dfae49dc5a6e72c7bc54 (diff) |
compile-ios.sh: realpath is not a default command.
-rwxr-xr-x | compile-ios.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compile-ios.sh b/compile-ios.sh index 8bbf3b54..dd7ba2ad 100755 --- a/compile-ios.sh +++ b/compile-ios.sh @@ -46,7 +46,7 @@ CC_="$(xcrun -f clang || echo clang)" onig_url="https://github.com/kkos/oniguruma/releases/download/v${oniguruma}/onig-${oniguruma}.tar.gz" builddir="${TMPDIR:-/tmp}/${RANDOM:-'xxxxx'}-compile-ios-build" -cwd="$(realpath ${PWD})" +cwd="$(realpath ${PWD} 2>/dev/null || echo ${PWD})" t_exit() { cat << EOF |