|
Revision 367, 1.2 kB
(checked in by gary, 3 years ago)
|
|
rename scripts so that all nightly scripts have names starting nightly_xxx
reorder dir work in nightly_copy_tsuite.pl so that cluster work done first, so that, in case of abort, unix and win versions are not deleted
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | use File::Copy; |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | $lgCheckTime=0; |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | $local_unix_sourcetar = "c:/projects/cloudy/trunk/unix/source.tar.gz"; |
|---|
| 17 | |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 20 | $original_exe = "c:/projects/cloudy/trunk/debug/trunk.exe"; |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | if( $lgCheckTime && (-M $local_unix_sourcetar) < (-M $original_exe ) ) |
|---|
| 25 | { |
|---|
| 26 | |
|---|
| 27 | exit; |
|---|
| 28 | } |
|---|
| 29 | |
|---|
| 30 | |
|---|
| 31 | $scripts = "c:/projects/cloudy/trunk/scripts"; |
|---|
| 32 | |
|---|
| 33 | |
|---|
| 34 | chdir( "$scripts" ) or die "invalid directory for scripts\n"; |
|---|
| 35 | |
|---|
| 36 | |
|---|
| 37 | system( "perl nightly_copy_source.pl" ); |
|---|
| 38 | |
|---|
| 39 | |
|---|
| 40 | system( "perl nightly_copy_tsuite.pl" ); |
|---|
| 41 | |
|---|
| 42 | |
|---|
| 43 | system( "perl nightly_copy_data.pl" ); |
|---|