From 839316e66b6bedd177935a436db5d622eae86204 Mon Sep 17 00:00:00 2001 From: MCApollo <34170230+MCApollo@users.noreply.github.com> Date: Sun, 10 Nov 2019 00:11:16 -0800 Subject: compile-ios.sh: realpath is not a default command. --- compile-ios.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3