diff options
author | joey <joey> | 2000-11-30 04:26:43 +0000 |
---|---|---|
committer | joey <joey> | 2000-11-30 04:26:43 +0000 |
commit | 5af47d4815bf66905cb224bdf7efdb093419a503 (patch) | |
tree | 1d75c69479a1eda454500a2c3567ac8b629241ce /dh_movefiles | |
parent | 5c808f0c60445978cb180202a9f760032d24f742 (diff) | |
download | debhelper-5af47d4815bf66905cb224bdf7efdb093419a503.tar.gz |
r399: * dh_movefiles: added error message on file not found
Diffstat (limited to 'dh_movefiles')
-rwxr-xr-x | dh_movefiles | 5 |
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"); } |