compile-ios.sh: realpath is not a default command.

This commit is contained in:
MCApollo authored and Nico Williams committed 2019-12-30 17:48:45 -06:00
1 parent d235e97f5e
commit 839316e66b
1 file changed
+1 -1
+1 -1
View File
@@ -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