Changeset 3789


Ignore:
Timestamp:
Feb 12, 2016 7:47:56 AM (4 years ago)
Author:
bradbell
Message:
  1. bin/version.sh changes so fix its use in archive-cppad.sh.
  2. Modify setting of coin_web so also works for testing on brad's machine.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • conf/archive-cppad.sh

    r3690 r3789  
    88# -----------------------------------------------
    99coin_web='/var/www/html/coin-or'
     10if [ ! -d "$coin_web" ]
     11then
     12        echo "archive_cppad.sh: Cannot find coin_web=$coin_web"
     13        coin_web="$HOME/trash/archive_cppad"
     14        echo "                  trying coin_web=$coin_web"
     15fi
     16temp_dir="$coin_web/CppAD/temp"
    1017coin_web_group='coin-web'
    11 temp_dir="$coin_web/CppAD/temp"
     18
    1219cat << EOF
    1320archive-cppad.sh $*
     
    265272        # set the version number to the current date
    266273        echo_exec bin/version.sh set
    267         echo_exec bin/version.sh copy
     274        echo 'First: bin/version.sh check'
     275        if ! bin/version.sh check
     276        then
     277                echo 'Second: bin/version.sh check'
     278                bin/version.sh check
     279        fi
    268280
    269281        # version corresponding to today
Note: See TracChangeset for help on using the changeset viewer.