From 1f9926c5ac69d259d7f41d82a3dcdd16ad899418 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 3 Oct 2007 14:46:56 +0000 Subject: fix ma-import 0.5.1 usage (by specifying --ostype as last option) --- transfugdrake.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'transfugdrake.pm') diff --git a/transfugdrake.pm b/transfugdrake.pm index 927df51..4c052ed 100755 --- a/transfugdrake.pm +++ b/transfugdrake.pm @@ -58,12 +58,15 @@ sub import_target { $lc_target =~ s/\s//g; run_program::raw({ timeout => "never" }, "ma-import", - "--ostype=windowsxp", "--fromuser=$win_user", "--frompath=$win_prefix", "--touser=$linux_user", "--topath=/", - "--target=$lc_target"); + "--target=$lc_target", + #- ostype is better specified last, since it triggers + #- some initialization depending on location options + "--ostype=windowsxp", + ); } 1; -- cgit v1.2.1