Changeset 30397

Show
Ignore:
Timestamp:
09.03.2016 17:16:26 (4 years ago)
Author:
ak19
Message:

Fixed values in environment setup file, and used as variables in create-expeditee.bat

Location:
other-projects/expeditee-release-kits
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • other-projects/expeditee-release-kits/create-expeditee.bat

    r30395 r30397  
    4747:: Uploading 
    4848mkdir uploads 
    49 copy products\Expeditee-1-windows.exe uploads\Expeditee-1-%mydate%-windows.exe 
    50 copy rke.out uploads\rke-%mydate%-windows.out 
     49copy products\Expeditee-1-%products_suffix%.exe uploads\Expeditee-1-%mydate%-%uploads_suffix%.exe 
     50copy rke.out uploads\rke-%mydate%-%os_suffix%.out 
    5151set PATH=C:\Windows\System32\linuxtools;C:\Program Files (x86)\PuTTY2;%PATH% 
    5252:: Works from the cmd line: 
    53 :: cd uploads && tar.exe -c * | plink.exe -T -i "C:\Research\Nightly\tools\keys\upload-expeditee.ppk" anupama@wharariki.cms.waikato.ac.nz 
    54 rem set identity_file=C:\Research\Nightly\tools\keys\upload-expeditee.ppk 
     53:: cd uploads && tar.exe -c * | plink.exe -T -i "C:\Research\Nightly\tools\keys\upload-expeditee.ppk" USER@MACHINE.cms.waikato.ac.nz 
     54 
    5555:: The following setcmd ends up partially running the cmd and uploading everything in snapshots\expeditee onto the remote machine 
    56 rem set upload_cmd=cd uploads && tar -c * | plink -T -i "C:\Research\Nightly\tools\keys\upload-expeditee.ppk" anupama@wharariki.cms.waikato.ac.nz 
     56rem set upload_cmd=cd uploads && tar -c * | plink -T -i "C:\Research\Nightly\tools\keys\upload-expeditee.ppk" USER@MACHINE.cms.waikato.ac.nz 
    5757rem echo %upload_cmd% 
    58 cd uploads && tar -c * | plink -T -i "C:\Research\Nightly\tools\keys\upload-expeditee.ppk" anupama@wharariki.cms.waikato.ac.nz 
     58cd uploads && tar -c * | plink -T -i "%identity_file%" anupama@wharariki.cms.waikato.ac.nz 
    5959 
    6060:end 
  • other-projects/expeditee-release-kits/rke-setup.bat.in

    r29232 r30397  
    1515echo *=== 
    1616 
     17set os=windows 
     18set products_suffix=%os% 
     19set uploads_suffix=%products_suffix% 
     20set out_suffix=%os% 
     21:: identity_file is the public key file 
     22set identity_file=%currentdir%\tools\keys\upload-expeditee.ppk 
    1723 
    1824:: Set Visual Studio environment here by calling vcvars. MS SDK not needed for Expeditee