commit ff59117f2814c866e45ef8b3265b8596264d4eba
parent 2536801927781ea38fefc3de924934e1c6a74d88
Author: ng0 <ng0@n0.is>
Date: Mon, 11 Nov 2019 18:27:17 +0000
remove -f from readlink, tested on NetBSD/amd64.
Note that readlink(1) is a non-standard tool, but
using $(pwd) is not enough. This tool should be
standardized, but macOS has no -f according to
schanzenbach. I hope that this removal of -f
is portable across other platforms we use.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
@@ -32,7 +32,8 @@
# we invoke configure not as a symlink but as a copy,
# so we have to use a fixed location for the repository!
-dir=$(dirname "$(readlink -f -- "$0")")/build-system/taler-build-scripts
+# dir=$(dirname "$(readlink -f -- "$0")")/build-system/taler-build-scripts
+dir=$(dirname "$(readlink -- "$0")")/build-system/taler-build-scripts
. $dir/sh/lib.sh/existence.sh
. $dir/sh/lib.sh/existence_python.sh