1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

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

This commit is contained in:
MCApollo
2019-11-10 00:11:16 -08:00
committed by Nico Williams
parent d235e97f5e
commit 839316e66b

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