my $tarfile = 0; # generate tar file for dependence & reverse dependence xml file
my $preordered_list = ""; # List of ordered packages to support user defined build order calculation
my $profiling = ""; # Reference profiling report location. If set reports will be generated
+my $with_submodules = 0; #didn't export sub modules source code.
GetOptions (
"repository=s" => \@repos,
"tarfile" => \$tarfile,
"preordered-list=s" => \$preordered_list,
"profiling=s" => \$profiling,
+ "with-submodules" => \$with_submodules,
);
if ( $help ) {
if ($thread_export == 1){
push @args, " 2>&1 | grep -v warning | grep -v Creating";
}
+ if ($with_submodules == 1) {
+ push @args, "--with-submodules";
+ }
+
$cmd = join(" ", @args);
return my_system($cmd);
}