diff options
author | ng0 <ng0@n0.is> | 2019-11-11 18:27:17 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-11-11 18:27:17 +0000 |
commit | ff59117f2814c866e45ef8b3265b8596264d4eba (patch) | |
tree | 0736962b3eb7399f2e3491773518320f496272b3 | |
parent | 2536801927781ea38fefc3de924934e1c6a74d88 (diff) | |
download | build-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.
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |