diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-12-31 13:19:29 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-12-31 13:19:29 +0100 |
commit | 03fa275801263a123495c723cbafe478cc0f3d95 (patch) | |
tree | e94804ad534030cf7963741487133c3d901170e5 | |
parent | 3aa6fab83b40af369b51cf8bbd16122c53f02d8a (diff) |
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'.
-rw-r--r-- | daemon.am | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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)" |