common/tools/csvToSysDef.pl
changeset 272 f2e8947e085a
parent 271 06c2c867c6ad
child 273 f7c6fc4239ac
equal deleted inserted replaced
271:06c2c867c6ad 272:f2e8947e085a
    53 	{
    53 	{
    54 		# Not there, so try the "backup" location
    54 		# Not there, so try the "backup" location
    55 		$pkgDef =~ s{^/sf/}{};
    55 		$pkgDef =~ s{^/sf/}{};
    56 		$pkgDef =~ s{/[^/]*$}{};
    56 		$pkgDef =~ s{/[^/]*$}{};
    57 		# TODO: Where will this be on the build machine?
    57 		# TODO: Where will this be on the build machine?
    58 		$pkgDef = "./packages/3k/$pkgDef/package_definition.xml";
    58 		$pkgDef = "../../packages/3k/$pkgDef/package_definition.xml";
    59 	}
    59 	}
    60 	die unless -f $pkgDef;
    60 	die unless -f $pkgDef;
    61 
    61 
    62 	my $pkgTree = $parser->parsefile($pkgDef) or die;
    62 	my $pkgTree = $parser->parsefile($pkgDef) or die;
    63 	if (!$outTree)
    63 	if (!$outTree)