Ignore:
Timestamp:
2013-09-19T21:07:36+12:00 (11 years ago)
Author:
ak19
Message:

The changes needed to have the nightly snapshot task uploading successfully to the caveat from the Mountain Lion mac

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/nightly-tasks/snapshot/trunk/lib.pl

    r27661 r28299  
    115115            #upload
    116116            print "Will upload '" . basename($file) . "' to '$filename'\n";
    117             system("copy \"$file\" \"${release_dir}${sep}uploads${sep}$filename\"");
     117            if( $^O =~ "linux|darwin" ) {
     118                system("cp \"$file\" \"${release_dir}${sep}uploads${sep}$filename\"");
     119            }
     120            else {
     121                system("copy \"$file\" \"${release_dir}${sep}uploads${sep}$filename\"");
     122            }
    118123        }
    119124
Note: See TracChangeset for help on using the changeset viewer.