commit - 2fb0330a1e2f26fb885b417086a6177342b52e7a
commit + d5ece9bf5fc64a3210e5b95f5421a523fbfac854
blob - 8e5afdb538bf012a8cd633b0235ff0ae5357b0e8
blob + 4897b27e2bbd6fa672d2a449a5b25ad65e303850
--- regress/gotd/Makefile
+++ regress/gotd/Makefile
GOTD_TEST_ROOT=/tmp
GOTD_DEVUSER?=gotdev
-GOTD_DEVUSER_HOME!=userinfo $(GOTD_DEVUSER) | awk '/^dir/ {print $$2}'
+GOTD_DEVUSER_HOME!=getent passwd $(GOTD_DEVUSER) | cut -d: -f6
GOTD_TEST_REPO!?=mktemp -d "$(GOTD_TEST_ROOT)/gotd-test-repo-XXXXXXXXXX"
GOTD_TEST_REPO_NAME=test-repo
GOTD_TEST_REPO_URL=ssh://${GOTD_DEVUSER}@127.0.0.1/$(GOTD_TEST_REPO_NAME)
.if empty(GOTD_TEST_USER)
GOTD_TEST_USER=${USER}
.endif
-GOTD_TEST_USER_HOME!=userinfo $(GOTD_TEST_USER) | awk '/^dir/ {print $$2}'
+GOTD_TEST_USER_HOME!=getent passwd $(GOTD_TEST_USER) | cut -d: -f6
# gotd.conf parameters
GOTD_USER?=got