diff options
author | joey <joey> | 2002-02-22 21:52:46 +0000 |
---|---|---|
committer | joey <joey> | 2002-02-22 21:52:46 +0000 |
commit | 53775e799ffef734c2a4980eb2e2e1a9754b799a (patch) | |
tree | a729964006afb352ca438a7bfbf0dcd0383dac00 /dh_movefiles | |
parent | 5221e81cc5f195b32758617409cdc39e12277b82 (diff) |
r511: * dh_movefiles: Allow for deeper --sourcedir. Closes: #131363
Diffstat (limited to 'dh_movefiles')
-rwxr-xr-x | dh_movefiles | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dh_movefiles b/dh_movefiles index cef89101..4cde0887 100755 --- a/dh_movefiles +++ b/dh_movefiles @@ -125,7 +125,9 @@ foreach my $package (@{$dh{DOPACKAGES}}) { $file=~s:^\Q$sourcedir\E/+::; complex_doit("(cd $sourcedir >/dev/null ; find $file ! -type d -print || true) >> debian/movelist"); } - complex_doit("(cd $sourcedir >/dev/null ; tar --create --remove-files --files-from=../movelist --file -) | (cd $tmp >/dev/null ;tar xpf -)"); + my $pwd=`pwd`; + chomp $pwd; + complex_doit("(cd $sourcedir >/dev/null ; tar --create --remove-files --files-from=$pwd/movelist --file -) | (cd $tmp >/dev/null ;tar xpf -)"); doit("rm","-f","debian/movelist"); } } |