build: Make sure test-bwrap is executable

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie
2021-04-18 12:42:59 +01:00
parent cfa39516c8
commit 4b5335c26b

View File

@@ -32,6 +32,7 @@ check_PROGRAMS = test-bwrap
test-bwrap: bwrap
rm -rf test-bwrap
cp bwrap test-bwrap
chmod 0755 test-bwrap
if PRIV_MODE_SETUID
$(SUDO_BIN) chown root test-bwrap
$(SUDO_BIN) chmod u+s test-bwrap