diff options
author | Patric Stout <truebrain@openttd.org> | 2018-04-14 22:05:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-14 22:05:39 +0200 |
commit | aaf7e98c77bf4a229604ac5f20b01b2e7b531a95 (patch) | |
tree | 2d58b84bed7ba9130403a9ba40bc4575f8be7e0a | |
parent | 43338b8a4572f3bc8c53338f0bff5afe9c225c8a (diff) | |
download | openttd-aaf7e98c77bf4a229604ac5f20b01b2e7b531a95.tar.xz |
Fix 6ac0790: don't show the location to / failure of 'realpath' every time (#6719)
-rw-r--r-- | config.lib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config.lib b/config.lib index 92afc0230..57e0261b9 100644 --- a/config.lib +++ b/config.lib @@ -1202,7 +1202,7 @@ check_params() { fi } -if ! which realpath; then +if [ -z `which realpath 2>/dev/null` ]; then realpath() { readlink -f -- "$@"; } fi |