summaryrefslogtreecommitdiff
path: root/dh_movefiles
diff options
context:
space:
mode:
authorjoey <joey>2000-11-30 04:26:43 +0000
committerjoey <joey>2000-11-30 04:26:43 +0000
commit5af47d4815bf66905cb224bdf7efdb093419a503 (patch)
tree1d75c69479a1eda454500a2c3567ac8b629241ce /dh_movefiles
parent5c808f0c60445978cb180202a9f760032d24f742 (diff)
downloaddebhelper-5af47d4815bf66905cb224bdf7efdb093419a503.tar.gz
r399: * dh_movefiles: added error message on file not found
Diffstat (limited to 'dh_movefiles')
-rwxr-xr-xdh_movefiles5
1 files changed, 4 insertions, 1 deletions
diff --git a/dh_movefiles b/dh_movefiles
index 6e3a8688..cbfc3e6c 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");
}