Ticket #5514: patchfile.patch

File patchfile.patch, 638 bytes (added by Jason Kovacs, 11 years ago)

Fix suggestion for this problem

  • testing.jam

    diff --git a/testing.jam b/testing.jam
    index c42075b..da436da 100644
    a b if [ os.name ] = NT  
    463463    .SHELL_SET     = "set " ;
    464464    .CATENATE      = type ;
    465465    .CP            = copy ;
     466        .EXIT_FLAG     = "/B" ;
    466467}
    467468else
    468469{
    else  
    476477    .SHELL_SET     = "" ;
    477478    .CATENATE      = cat ;
    478479    .CP            = cp ;
     480        .EXIT_FLAG     = "" ;
    479481}
    480482
    481483
    actions capture-output bind INPUT_FILES output-file  
    508510        $(.CATENATE) "$(output-file)"
    509511        echo ====== END OUTPUT ======
    510512    $(.ENDIF)
    511     exit $(.STATUS)
     513    exit $(.EXIT_FLAG) $(.STATUS)
    512514}
    513515
    514516