Changeset 37771 for other-projects


Ignore:
Timestamp:
2023-06-15T20:12:52+12:00 (12 months ago)
Author:
anupama
Message:

Modifications to allow the internal wiki instructions on running commands like the following to work: create-gs3-caveat upload. The Mac caveat scripts now pass on arguments like upload. (I think only upload was ever supported. It is certainly all I ever remember using on Windows and Linux.)

Location:
other-projects/nightly-tasks/crons-and-scripts/macos
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • other-projects/nightly-tasks/crons-and-scripts/macos/create-gs2-caveat.sh

    r32399 r37771  
    1 ./macos_gsbins_cron.sh 2
     1#!/bin/bash
     2
     3# Absolute path for where this script is
     4CAVEAT_HOME=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
     5
     6cd "$CAVEAT_HOME" && ./macos_gsbins_cron.sh 2 $*
  • other-projects/nightly-tasks/crons-and-scripts/macos/create-gs3-caveat.sh

    r32399 r37771  
    1 ./macos_gsbins_cron.sh 3
     1#!/bin/bash
     2
     3# Absolute path for where this script is
     4CAVEAT_HOME=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
     5
     6cd "$CAVEAT_HOME" && ./macos_gsbins_cron.sh 3 $*
  • other-projects/nightly-tasks/crons-and-scripts/macos/macos_gsbins_cron.sh.TEMPLATE

    r34523 r37771  
    5050    elif test "$1" == "2" ; then
    5151        echo "Caveat 2";
     52        if test -z "$2" ; then
    5253        ./envi gs2-caveat >> $BASEDIR/logs/caveats.log 2>&1;
     54        else
     55        ./envi gs2-caveat $2 >> $BASEDIR/logs/caveats.log 2>&1;
     56        fi
    5357    elif test "$1" == "3" ; then
    5458        echo "Caveat 3";
     59        if test -z "$2" ; then
    5560        ./envi gs3-caveat >> $BASEDIR/logs/caveats.log 2>&1;
     61        else
     62        ./envi gs3-caveat $2 >> $BASEDIR/logs/caveats.log 2>&1;
     63        fi
    5664    elif test "$1" == "release" ; then
    5765        if test -z "$2" ; then
Note: See TracChangeset for help on using the changeset viewer.