summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-11-11 18:27:17 +0000
committerng0 <ng0@n0.is>2019-11-11 18:27:17 +0000
commitff59117f2814c866e45ef8b3265b8596264d4eba (patch)
tree0736962b3eb7399f2e3491773518320f496272b3 /configure
parent2536801927781ea38fefc3de924934e1c6a74d88 (diff)
downloadbuild-common-ff59117f2814c866e45ef8b3265b8596264d4eba.tar.gz
build-common-ff59117f2814c866e45ef8b3265b8596264d4eba.tar.bz2
build-common-ff59117f2814c866e45ef8b3265b8596264d4eba.zip
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 (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 4ffb738..e2be5fa 100755
--- 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