- Timestamp:
- 2022-05-30T10:37:12+12:00 (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gs-release-builder/envi/etc/tasks/snapshot/task.pl
r36214 r36222 52 52 if ( ! exists $ENV{'DATA_DIR'} ) { 53 53 $ENV{'DATA_DIR'} = "$ENV{'HOME'}${sep}snapshots"; 54 }55 56 #default identity dir57 if ( ! exists $ENV{'IDENTITY_DIR'} ) {58 $ENV{'IDENTITY_DIR'} = "$ENV{'HOME'}${sep}.ssh";59 54 } 60 55 … … 69 64 } elsif ( $ENV{'TASK_NAME'} =~ m/^gs2-(caveat|stable)/i ) { 70 65 if ( $ENV{'TASK_NAME'} =~ m/^gs2-(caveat|stable)-x64$/i ) { 71 # $ENV{'branch_path'} = "branches/64_bit_Greenstone";72 66 $ENV{'x64'} = "true"; 73 67 } … … 77 71 } elsif ( $ENV{'TASK_NAME'} =~ m/^gs3-(caveat|stable)/i ) { 78 72 if ( $ENV{'TASK_NAME'} =~ m/^gs3-(caveat|stable)-x64$/i ) { 79 # $ENV{'branch_path'} = "branches/64_bit_Greenstone";80 73 $ENV{'x64'} = "true"; 81 74 } … … 170 163 #set the path to server.exe 171 164 $ENV{'SERVER_EXE_LOCATION'} = "https://www.greenstone.org/release-snapshots/server-\$\\\{version\\\}.exe"; 172 #$ENV{'SERVER_EXE_LOCATION'} = "http://community.nzdl.org/gs3files/latest-server.exe"; 173 } 174 175 #use the correct key for uploading 176 $ENV{'IDENTITY_FILE'} = 177 "$ENV{'IDENTITY_DIR'}${sep}upload-" . $ENV{'SNAPSHOT_MODE'} . ($^O eq "MSWin32" ? ".ppk" : ""); 178 165 } 179 166 180 167 #always rename the log not to clash with other files on puka
Note:
See TracChangeset
for help on using the changeset viewer.