common/tools/split_sysdef.pl
changeset 1211 776ca456c221
parent 1078 551e851f4b49
equal deleted inserted replaced
1210:63e3c25b6e2c 1211:776ca456c221
    54 	if ($bldfile)
    54 	if ($bldfile)
    55 	{
    55 	{
    56 		$bldfile =~ s,\\,/,g;
    56 		$bldfile =~ s,\\,/,g;
    57 		$bldfile = "/$bldfile" if ( $bldfile !~ m,^/, );
    57 		$bldfile = "/$bldfile" if ( $bldfile !~ m,^/, );
    58 		$bldfile = "/sf$bldfile" if ( $bldfile !~ m,^/sf, );
    58 		$bldfile = "/sf$bldfile" if ( $bldfile !~ m,^/sf, );
    59 		if ($bldfile =~ m,^/sf/(os|mw|app|tools|ostools|adaptation)/,)
    59 		if ($bldfile =~ m,^/sf/(os|mw|app|tools|ostools|adaptation|adapt)/,)
    60 		{
    60 		{
    61 			$unit->setAttribute("bldFile", $bldfile);
    61 			$unit->setAttribute("bldFile", $bldfile);
    62 		}
    62 		}
    63 		else
    63 		else
    64 		{
    64 		{
    70 	if ($mrp)
    70 	if ($mrp)
    71 	{
    71 	{
    72 		$mrp =~ s,\\,/,g;
    72 		$mrp =~ s,\\,/,g;
    73 		$mrp = "/$mrp" if ( $mrp !~ m,^/, );
    73 		$mrp = "/$mrp" if ( $mrp !~ m,^/, );
    74 		$mrp = "/sf$mrp" if ( $mrp !~ m,^/sf, );
    74 		$mrp = "/sf$mrp" if ( $mrp !~ m,^/sf, );
    75 		if ($mrp =~ m,^/sf/(os|mw|app|tools|ostools|adaptation)/,)
    75 		if ($mrp =~ m,^/sf/(os|mw|app|tools|ostools|adaptation|adapt)/,)
    76 		{
    76 		{
    77 			$unit->setAttribute("mrp", $mrp);
    77 			$unit->setAttribute("mrp", $mrp);
    78 		}
    78 		}
    79 		else
    79 		else
    80 		{
    80 		{