« 2.3 KDDI release | Main | 2.3.0.3 built - build bug »

CI Trigger Bug

Fixed bug in CheckInPost.pl. This bug was caused by an element having a space character in it (e.g. a directory named "source code"). The checkin trigger had the following line:

$result = system ("cleartool mklabel -replace $bugid $pname");

This line assumes that $pname does not contain a space character. The fix was:

$result = system ("cleartool mklabel -replace $bugid \"$pname\"");

The \"'s surround $pname and thus protect it.