From 03fa275801263a123495c723cbafe478cc0f3d95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 31 Dec 2012 13:19:29 +0100 Subject: [PATCH] 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'. --- daemon.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/daemon.am b/daemon.am index 26b07c4105025a156592d305cce427003f5f9741..33e26d1dfe39de2ed382aadea34bf99e5cce923e 100644 --- a/daemon.am +++ b/daemon.am @@ -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)"