Ignore:
Timestamp:
2016-03-09T20:48:26+13:00 (8 years ago)
Author:
ak19
Message:

Parallel changes for the linux machines to use variables in create-expeditee.sh in place of fixed strings. The variables should be set to concrete values in rke-setup.sh.

File:
1 edited

Legend:

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

    r30396 r30398  
    11#!/bin/bash
    22
    3 currentdir=`pwd`
    4 # set currentdir to /home/sjm84 (when on /opt/lsb) on the linux VM machines
    5 # that produce nightlies
     3
     4# http://stackoverflow.com/questions/4774054/reliable-way-for-a-bash-script-to-get-the-full-path-to-itself
     5currentdir=$( cd "$(dirname "$0")" ; pwd -P )
    66
    77if ! test -f "$currentdir/expeditee-release-kits/rke-setup.sh"; then
     
    4848        # Uploading
    4949        mkdir uploads
    50         cp products/Expeditee-1-linux uploads/Expeditee-1-${DATE}-linux
    51         cp rke.out uploads/Expeditee-${DATE}-linux.out
    52         cd uploads && tar -c * | ssh -T -i "/root/.ssh/upload-expeditee-l32" [email protected]
     50        cp products/Expeditee-1${products_suffix} uploads/Expeditee-1-${DATE}${uploads_suffix}
     51        cp rke.out uploads/rke-${DATE}${out_suffix}.out
     52        cd uploads && tar -c * | ssh -T -i "${identity_file}" [email protected]
    5353
    5454        exit 0
Note: See TracChangeset for help on using the changeset viewer.