From 30b95fc565a4ef342cdc4902d2a7ef7428cb3bda Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 30 May 2011 14:45:55 -0400 Subject: dh_movefiles: Optimise use of xargs. Closes: #627737 --- dh_movefiles | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dh_movefiles') diff --git a/dh_movefiles b/dh_movefiles index b146b8e9..3f59d9e5 100755 --- a/dh_movefiles +++ b/dh_movefiles @@ -153,7 +153,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { complex_doit("(cd $sourcedir >/dev/null ; tar --create --files-from=$pwd/debian/movelist --file -) | (cd $tmp >/dev/null ;tar xpf -)"); # --remove-files is not used above because tar then doesn't # preserve hard links - complex_doit("(cd $sourcedir >/dev/null ; tr '\\n' '\\0' < $pwd/debian/movelist | xargs -0 -i rm -f '{}')"); + complex_doit("(cd $sourcedir >/dev/null ; tr '\\n' '\\0' < $pwd/debian/movelist | xargs -0 rm -f)"); doit("rm","-f","debian/movelist"); } } -- cgit v1.2.3