From aaf7e98c77bf4a229604ac5f20b01b2e7b531a95 Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Sat, 14 Apr 2018 22:05:39 +0200 Subject: [PATCH] Fix 6ac0790: don't show the location to / failure of 'realpath' every time (#6719) --- config.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.lib b/config.lib index 92afc02302..57e0261b9b 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