Changeset 37917 for other-projects


Ignore:
Timestamp:
2023-08-10T18:00:25+12:00 (10 months ago)
Author:
anupama
Message:

Committing Kathy's local fixes to create-expeditee.sh, before committing my own on the Mac. I had mostly the same corrections: Paths should be releative to expeditee-release-kits, not expect a further subdir called expeditee-release-kits.

File:
1 edited

Legend:

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

    r30398 r37917  
    33
    44# http://stackoverflow.com/questions/4774054/reliable-way-for-a-bash-script-to-get-the-full-path-to-itself
     5#currentdir should be the path to expeditee-release-kits
    56currentdir=$( cd "$(dirname "$0")" ; pwd -P )
    67
    7 if ! test -f "$currentdir/expeditee-release-kits/rke-setup.sh"; then
     8if ! test -f "$currentdir/rke-setup.sh"; then
    89    echo ""
    910    echo "********************"
    10     echo "First edit $currentdir/expeditee-release-kits/rke-setup.sh.in"
    11     echo "to generate $currentdir/expeditee-release-kits/rke-setup.sh"
     11    echo "First edit $currentdir/rke-setup.sh.in"
     12    echo "to generate $currentdir/rke-setup.sh"
    1213    echo ""
    1314    echo "********************"
     
    1718    # rke-setup uses local paths, so cd into expeditee-release-kits first
    1819    # then call rke-setup.sh to source the environment vars it sets
    19     pushd "$currentdir/expeditee-release-kits"
     20    pushd "$currentdir"
    2021    source "rke-setup.sh"
    2122    returnval=$?
     
    3839        fi
    3940        if ! test -f expeditee/rke-build.properties; then
    40             cp $currentdir/expeditee-release-kits/rke-build.properties.in expeditee/rke-build.properties
     41            cp $currentdir/rke-build.properties.in expeditee/rke-build.properties
    4142        fi
    4243        pushd expeditee
     
    5051        cp products/Expeditee-1${products_suffix} uploads/Expeditee-1-${DATE}${uploads_suffix}
    5152        cp rke.out uploads/rke-${DATE}${out_suffix}.out
    52         cd uploads && tar -c * | ssh -T -i "${identity_file}" [email protected]
     53
     54        # the ssh inside the lsb cannot use ed25519 keys, so the uploading step is done outside lsb now
     55        #cd uploads && tar -c * | ssh -T -i "${identity_file}" [email protected]
    5356
    5457        exit 0
Note: See TracChangeset for help on using the changeset viewer.