From: Alain Spineux Date: Tue, 20 Sep 2022 07:49:31 +0000 (+0200) Subject: regress: if regress/tmp don't exist avoid chmod: cannot access 'tmp' X-Git-Tag: Beta-15.0.0~503 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb92135965ec4a92f0ffad6c646e66693bbefac8;p=thirdparty%2Fbacula.git regress: if regress/tmp don't exist avoid chmod: cannot access 'tmp' - avoid the disturbing message below if regress/tmp don't exist chmod: cannot access 'tmp': No such file or directory --- diff --git a/regress/Makefile b/regress/Makefile index 8b4986a9d..ac1e24600 100644 --- a/regress/Makefile +++ b/regress/Makefile @@ -24,6 +24,7 @@ setup: bacula sed # is in weird-files, so we load and run it only on Linux machines. # bacula: all + @test -e tmp && chmod -R u+rwx tmp || true @rm -rf bin build weird-files tmp @rm -f w.tar.gz w.tar @cp weird-files.tar.gz w.tar.gz