~ruther/guix-local

03fa275801263a123495c723cbafe478cc0f3d95 — Ludovic Courtès 13 years ago 3aa6fab
build: Avoid error message during `make clean' when `test-tmp' doesn't exist.

* daemon.am (clean-local): Check whether $(GUIX_TEST_ROOT) exists before
  running `find'.
1 files changed, 3 insertions(+), 1 deletions(-)

M daemon.am
M daemon.am => daemon.am +3 -1
@@ 175,5 175,7 @@ TESTS +=					\
  tests/guix-daemon.sh

clean-local:
	-find "$(GUIX_TEST_ROOT)" | xargs chmod +w
	-if test -d "$(GUIX_TEST_ROOT)"; then		\
	  find "$(GUIX_TEST_ROOT)" | xargs chmod +w;	\
	 fi
	-rm -rf "$(GUIX_TEST_ROOT)"