From: Guillem Jover Date: Sat, 24 Nov 2007 05:18:30 +0000 (+0200) Subject: Fix distclean by only running a chmod if the target dir exists X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44c4fb762ff0c4e5c235b90edc22133b12ab0e42;p=dpkg Fix distclean by only running a chmod if the target dir exists --- 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*)