]> git.donarmstrong.com Git - debhelper.git/commitdiff
r399: * dh_movefiles: added error message on file not found
authorjoey <joey>
Thu, 30 Nov 2000 04:26:43 +0000 (04:26 +0000)
committerjoey <joey>
Thu, 30 Nov 2000 04:26:43 +0000 (04:26 +0000)
debian/changelog
dh_movefiles

index fcfd72b2e6afb76856d0c8888d0108a2d140cf3e..80af3efad6fe579d8e27a380f6cc57b140df11af 100644 (file)
@@ -1,3 +1,9 @@
+debhelper (2.2.4) unstable; urgency=low
+
+  * dh_movefiles: added error message on file not found
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 29 Nov 2000 20:25:52 -0800
+
 debhelper (2.2.3) unstable; urgency=low
 
   * If DH_COMPAT=3 is set, the following happens:
index 6e3a8688195e146dd9842b39fda60c98126a0129..cbfc3e6c71aa5b2ba02abd87779c38ae87f31a47 100755 (executable)
@@ -59,7 +59,10 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
                doit("rm","-f","debian/movelist");
                foreach (@tomove) {
                        $file=$_;
-                       $ret=1 if (! -e $file && ! -l $file);
+                       if (! -e $file && ! -l $file) {
+                               $ret=1;
+                               warning("$file not found");
+                       }
                        $file=~s:^\Q$sourcedir\E/+::;
                        complex_doit("(cd $sourcedir >/dev/null ; find $file ! -type d -print || true) >> debian/movelist");
                }