commit 4398c738bca10e0e884353fb494a23e7d7ac0524 from: Omar Polo date: Mon Oct 31 16:35:05 2022 UTC awk ftw! no need to grep, awk can filter lines by itself ok stsp@ commit - ad8ccd554bb28e347cf0e997429a408457280182 commit + 4398c738bca10e0e884353fb494a23e7d7ac0524 blob - 7c2992be4f288b02a06aa7cc8ee97b9df22737f2 blob + 785eb48bd53304382de88cd45d349c595ff2ec96 --- regress/gotd/Makefile +++ regress/gotd/Makefile @@ -5,12 +5,12 @@ NOOBJ=Yes GOTD_TEST_ROOT=/tmp GOTD_DEVUSER?=gotdev -GOTD_DEVUSER_HOME!=userinfo $(GOTD_DEVUSER) | grep ^dir | awk '{print $$2}' +GOTD_DEVUSER_HOME!=userinfo $(GOTD_DEVUSER) | awk '/^dir/ {print $$2}' GOTD_TEST_REPO!?=mktemp -d "$(GOTD_TEST_ROOT)/gotd-test-repo-XXXXXXXXX" GOTD_TEST_REPO_URL=ssh://${GOTD_DEVUSER}@127.0.0.1/test-repo GOTD_TEST_USER?=${LOGNAME} -GOTD_TEST_USER_HOME!=userinfo $(GOTD_TEST_USER) | grep ^dir | awk '{print $$2}' +GOTD_TEST_USER_HOME!=userinfo $(GOTD_TEST_USER) | awk '/^dir/ {print $$2}' # gotd.conf parameters GOTD_USER?=got