From 5af47d4815bf66905cb224bdf7efdb093419a503 Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 30 Nov 2000 04:26:43 +0000 Subject: [PATCH] r399: * dh_movefiles: added error message on file not found --- debian/changelog | 6 ++++++ dh_movefiles | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index fcfd72b..80af3ef 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +debhelper (2.2.4) unstable; urgency=low + + * dh_movefiles: added error message on file not found + + -- Joey Hess Wed, 29 Nov 2000 20:25:52 -0800 + debhelper (2.2.3) unstable; urgency=low * If DH_COMPAT=3 is set, the following happens: diff --git a/dh_movefiles b/dh_movefiles index 6e3a868..cbfc3e6 100755 --- a/dh_movefiles +++ b/dh_movefiles @@ -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"); } -- 2.39.2