Ignore:
Timestamp:
2022-05-30T10:37:12+12:00 (23 months ago)
Author:
kjdon
Message:

removed IDENTITY_DIR/FILE as they are not used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gs-release-builder/envi/etc/tasks/snapshot/task.pl

    r36214 r36222  
    5252if ( ! exists $ENV{'DATA_DIR'} ) {
    5353    $ENV{'DATA_DIR'} = "$ENV{'HOME'}${sep}snapshots";
    54 }
    55 
    56 #default identity dir
    57 if ( ! exists $ENV{'IDENTITY_DIR'} ) {
    58     $ENV{'IDENTITY_DIR'} = "$ENV{'HOME'}${sep}.ssh";
    5954}
    6055
     
    6964} elsif ( $ENV{'TASK_NAME'} =~ m/^gs2-(caveat|stable)/i ) {
    7065    if ( $ENV{'TASK_NAME'} =~ m/^gs2-(caveat|stable)-x64$/i ) {
    71     #        $ENV{'branch_path'} = "branches/64_bit_Greenstone";
    7266    $ENV{'x64'} = "true";
    7367    }
     
    7771} elsif ( $ENV{'TASK_NAME'} =~ m/^gs3-(caveat|stable)/i ) {
    7872    if ( $ENV{'TASK_NAME'} =~ m/^gs3-(caveat|stable)-x64$/i ) {
    79     #        $ENV{'branch_path'} = "branches/64_bit_Greenstone";
    8073    $ENV{'x64'} = "true";
    8174    }
     
    170163    #set the path to server.exe
    171164    $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}
    179166
    180167#always rename the log not to clash with other files on puka
Note: See TracChangeset for help on using the changeset viewer.