summaryrefslogtreecommitdiff
path: root/dh_movefiles
diff options
context:
space:
mode:
Diffstat (limited to 'dh_movefiles')
-rwxr-xr-xdh_movefiles14
1 files changed, 8 insertions, 6 deletions
diff --git a/dh_movefiles b/dh_movefiles
index 7c3e70c6..acd3b20d 100755
--- a/dh_movefiles
+++ b/dh_movefiles
@@ -130,13 +130,15 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
$ret=1;
warning("$file not found (supposed to put it in $package)");
}
- $file=~s:^\Q$sourcedir\E/+::;
- my $cmd="(cd $sourcedir >/dev/null ; find $file ! -type d ";
- if ($dh{EXCLUDE_FIND}) {
- $cmd.="-a ! \\( $dh{EXCLUDE_FIND} \\) ";
+ else {
+ $file=~s:^\Q$sourcedir\E/+::;
+ my $cmd="(cd $sourcedir >/dev/null ; find $file ! -type d ";
+ if ($dh{EXCLUDE_FIND}) {
+ $cmd.="-a ! \\( $dh{EXCLUDE_FIND} \\) ";
+ }
+ $cmd.="-print || true) >> debian/movelist";
+ complex_doit($cmd);
}
- $cmd.="-print || true) >> debian/movelist";
- complex_doit($cmd);
}
my $pwd=`pwd`;
chomp $pwd;