summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2024-02-06 16:21:05 +1100
committerDarren Tucker <dtucker@dtucker.net>2024-02-06 16:37:07 +1100
commit91898bf786b0f149f962c4c96c08a46f29888c10 (patch)
tree3fd168c54119292782aa43fdaf2635475c20976d
parentbe5ed8ebed8388c5056bfde4688308cc873c18b9 (diff)
Put privsep dir on OS X on /usr/local.
On some runners we can't create /var/empty, so put it some place we can write. Should fix test breakage on Max OS X 11.
-rwxr-xr-x.github/configs4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/configs b/.github/configs
index 1b1e7aac..963e8771 100755
--- a/.github/configs
+++ b/.github/configs
@@ -322,6 +322,10 @@ case "$host" in
# modern versions don't ship with libcrypto.
LIBCRYPTOFLAGS="--without-openssl"
TEST_TARGET=t-exec
+
+ # On some OS X runners we can't write to /var/empty.
+ CONFIGFLAGS="${CONFIGFLAGS} --with-privsep-path=/usr/local/empty"
+
case "$host" in
*-darwin22.*)
# sudo -S nobody doesn't work on macos 13 for some reason.