]> err.no Git - dpkg/commitdiff
Fix distclean by only running a chmod if the target dir exists
authorGuillem Jover <guillem@debian.org>
Sat, 24 Nov 2007 05:18:30 +0000 (07:18 +0200)
committerGuillem Jover <guillem@debian.org>
Sat, 24 Nov 2007 05:18:30 +0000 (07:18 +0200)
ChangeLog
scripts/Makefile.am

index 5b00328f473a11c71d5c8142950323f4944401ac..152405750b16069dd73834c209d0ae824d8431c3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-24  Guillem Jover  <guillem@debian.org>
+
+       * scripts/Makefile.am (clean-local): Run chmod only if t.tmp exists.
+
 2007-11-24  Guillem Jover  <guillem@debian.org>
 
        * scripts/dpkg-scanpackages.pl (%vercache): Declare with 'my' instead
index 30ce4059b1ec2c15c94b3975214c618f187b0d8e..c86e70bb3a0cac22b9f24664a43f69755bfe1ece 100644 (file)
@@ -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*)