Commit 8126e12c authored by Simon McVittie's avatar Simon McVittie

Merge branch 'msys2-chmod' into 'master'

build: Don't assume we can set permissions on a directory

Closes #216

See merge request !110

(cherry picked from commit 6ee63e3a)

14f46d14 build: Don't assume we can set permissions on a directory
parent 77c650f4
Pipeline #31681 passed with stage
in 9 minutes and 35 seconds
......@@ -554,8 +554,11 @@ EXTRA_DIST += $(static_data)
## copy tests to builddir so that generated tests and static tests
## are all in one place.
## Note that we can't create the XDG_RUNTIME_DIR with permissions 0700
## on MSYS2, which rejects attempts to change permissions, hence "|| true".
all-local: copy-config-local uninstalled-config-local
$(AM_V_at)$(MKDIR_P) -m 700 XDG_RUNTIME_DIR
$(AM_V_at)$(MKDIR_P) XDG_RUNTIME_DIR
$(AM_V_at)chmod 0700 XDG_RUNTIME_DIR || true
copy-config-local:
$(AM_V_at)$(MKDIR_P) data/valid-config-files/session.d
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment