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'.
This commit is contained in:
Ludovic Courtès 2012-12-31 13:19:29 +01:00
parent 3aa6fab83b
commit 03fa275801

View file

@ -175,5 +175,7 @@ TESTS += \
tests/guix-daemon.sh tests/guix-daemon.sh
clean-local: 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)" -rm -rf "$(GUIX_TEST_ROOT)"