fix Makefile.regress for docker and missing coreutils

Per report from Václav Daněk.

Resolves: rhbz#1508011
This commit is contained in:
Pavel Raiskup 2018-09-26 14:31:56 +02:00
parent ffc865e4a8
commit 6111911b25

View File

@ -47,7 +47,9 @@ installcheck-parallel: cleandirs
cleandirs: cleandirs:
-rm -rf testtablespace results -rm -rf testtablespace results
mkdir testtablespace results mkdir testtablespace results
[ -x /usr/bin/chcon ] && /usr/bin/chcon -u system_u -r object_r -t postgresql_db_t testtablespace results if test -x /usr/bin/chcon && ! test -f /.dockerenv; then \
/usr/bin/chcon -u system_u -r object_r -t postgresql_db_t testtablespace results ; \
fi
# old interfaces follow... # old interfaces follow...