summaryrefslogtreecommitdiff
path: root/dh_movefiles
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-06-28 21:47:52 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-06-28 21:51:12 -0400
commit8a088bc6cbe25d1a1e99edadd02d880d286dcaca (patch)
treebead9f78123295765195805ba0ca16f1e68234be /dh_movefiles
parentfdf8b4a8b4b4f50c39b6e4266773539bc13d6e56 (diff)
clean up --sourcedir/--sourcedirectory conflict
* Move two move command-specific options to only be accepted by the commands that use them. The options are: --sourcedir, --destdir * If any third-party debhelper commands use either of the above options, they will be broken, and need to be changed to pass options to init(). This was done because of a conflict with the --sourcedirectory options used by dh_auto_*. I originally wanted to make dh_auto_* and dh_install both use --sourcedir, but that didn't work out.
Diffstat (limited to 'dh_movefiles')
-rwxr-xr-xdh_movefiles4
1 files changed, 3 insertions, 1 deletions
diff --git a/dh_movefiles b/dh_movefiles
index 72cbb0b..5e1db0f 100755
--- a/dh_movefiles
+++ b/dh_movefiles
@@ -67,7 +67,9 @@ deleted by dh_clean later.
=cut
-init();
+init(options => {
+ "sourcedir=s" => \$dh{SOURCEDIR},
+});
my $ret=0;