Use readlink to help on NetBSD

This commit is contained in:
Stephane Peter
2022-10-26 16:52:24 -07:00
parent f096f8887e
commit 1d258e5b20

View File

@@ -1,6 +1,6 @@
#!/bin/sh
set -eu
THIS="$(realpath "$0")"
THIS="$(readlink -f "$0")"
THISDIR="$(dirname "${THIS}")"
SRCDIR="$(dirname "${THISDIR}")"
VERSION="$(cat "${SRCDIR}/VERSION")"