Changeset 1495 in genappalpha for bin/genapp_run.pl


Ignore:
Timestamp:
Jul 23, 2018, 11:15:19 AM (3 years ago)
Author:
ehb
Message:

Docker runs locally thru genapp with run directory mounted on container

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bin/genapp_run.pl

    r1492 r1495  
    892892                if ( $doexec eq 'true' ) {
    893893                    my $cmd = "bash $fo";
     894                    $fo = "./$fo" if $fo !~ /\.sh$/;
    894895                    print "executing: $cmd\n";
    895896                    print `$cmd`;
     
    897898                if ( $doexec eq 'atend' ) {
    898899                    my $cmd = "cd output/$l; bash $use_output";
     900                    $cmd = "cd output/$l; ./$use_output" if $use_output !~ /\.sh$/;
    899901                    push @post_cmds, $cmd;
    900902                    print "pushing $cmd to post processing commands\n";
Note: See TracChangeset for help on using the changeset viewer.