1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-25 23:49:09 +00:00

Fix 6ac0790: don't show the location to / failure of 'realpath' every time (#6719)

This commit is contained in:
Patric Stout
2018-04-14 22:05:39 +02:00
committed by GitHub
parent 43338b8a45
commit aaf7e98c77

View File

@@ -1202,7 +1202,7 @@ check_params() {
fi
}
if ! which realpath; then
if [ -z `which realpath 2>/dev/null` ]; then
realpath() { readlink -f -- "$@"; }
fi