|
Revision 13, 1.6 kB
(checked in by gary, 3 years ago)
|
|
adjust file properties for ascii and perl files - no source change
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | use File::Copy; |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | $original_tsuite_dir = "c:/projects/cloudy/trunk/tsuite/auto"; |
|---|
| 16 | |
|---|
| 17 | if( !chdir( "$original_tsuite_dir" ) ) |
|---|
| 18 | { |
|---|
| 19 | printf(" could not move to test suite directory \n"); |
|---|
| 20 | exit(1); |
|---|
| 21 | } |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | copy( "cloudy.exe" , "cloudy_last_good.exe" ); |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | while(defined($output= glob("*.out")) ) |
|---|
| 28 | { |
|---|
| 29 | |
|---|
| 30 | $output =~ s/.out//gi; |
|---|
| 31 | copy( "$output".".out" , "$output".".lg" ); |
|---|
| 32 | } |
|---|
| 33 | |
|---|
| 34 | copy( "source.tar" , "source_tar.lg" ); |
|---|
| 35 | copy( "data.tar" , "data_tar.lg" ); |
|---|
| 36 | |
|---|
| 37 | |
|---|
| 38 | $ftp_last = "u:/pub/gary/bleeding_edge/last/"; |
|---|
| 39 | $ftp_last_good = "u:/pub/gary/bleeding_edge/last_good/"; |
|---|
| 40 | |
|---|
| 41 | |
|---|
| 42 | if( !chdir( "$ftp_last" ) ) |
|---|
| 43 | { |
|---|
| 44 | printf(" could not move to unix ftp directory \n"); |
|---|
| 45 | exit(1); |
|---|
| 46 | } |
|---|
| 47 | |
|---|
| 48 | |
|---|
| 49 | |
|---|
| 50 | while( defined( $input = glob("*") ) ) |
|---|
| 51 | { |
|---|
| 52 | $output = "$ftp_last_good"."/"."$input"; |
|---|
| 53 | |
|---|
| 54 | copy( $input , $output ); |
|---|
| 55 | } |
|---|