mirror of https://github.com/OpenTTD/OpenTTD
Fix 6ac0790: don't show the location to / failure of 'realpath' every time (#6719)
parent
43338b8a45
commit
aaf7e98c77
|
@ -1202,7 +1202,7 @@ check_params() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
if ! which realpath; then
|
if [ -z `which realpath 2>/dev/null` ]; then
|
||||||
realpath() { readlink -f -- "$@"; }
|
realpath() { readlink -f -- "$@"; }
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue