From 44c4fb762ff0c4e5c235b90edc22133b12ab0e42 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sat, 24 Nov 2007 07:18:30 +0200 Subject: [PATCH] Fix distclean by only running a chmod if the target dir exists --- ChangeLog | 4 ++++ scripts/Makefile.am | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5b00328f..15240575 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-11-24 Guillem Jover + + * scripts/Makefile.am (clean-local): Run chmod only if t.tmp exists. + 2007-11-24 Guillem Jover * scripts/dpkg-scanpackages.pl (%vercache): Declare with 'my' instead diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 30ce4059..c86e70bb 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -142,7 +142,7 @@ TEST_FILES= $(srcdir)/t/*.t TEST_VERBOSE= 0 clean-local: - chmod -R +w t.tmp + [ ! -d t.tmp ] || chmod -R +w t.tmp rm -fr t.tmp check: $(TEST_FILES) $(wildcard $(srcdir)/t/200_Dpkg_Shlibs/ld.so.conf*) -- 2.39.5