Changeset 23313


Ignore:
Timestamp:
09/18/18 13:27:05 (7 years ago)
Author:
jdquinn
Message:

CHG: Packaging Win10 binaries instead as a tarball

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/packagers/win10/package64.sh

    r23312 r23313  
    2323$MATLAB_PATH/bin/matlab -nodisplay -nosplash -r "try, addpath $ISSM_DIR_WIN/bin $ISSM_DIR_WIN/lib; runme('id',101); exit; catch me,fprintf('%s',getReport(me)); exit; end" -logfile matlab.log
    2424
    25 #wait until matlab closes
    26 if [ "$OS" = "win" ]; then
    27         sleep 5;
    28         echo "Waiting for Matlab to run test101"
     25# Wait until MATLAB closes
     26sleep 5
     27pid=$(ps aux -W | grep MATLAB | awk '{printf("%s\n","MATLAB");}')
     28while [ -n "$pid" ]
     29do
    2930        pid=$(ps aux -W | grep MATLAB | awk '{printf("%s\n","MATLAB");}')
    30         echo '-----------------------------'
    31         echo "pid: $pid"
    32         echo '-----------------------------'
    33         while [ -n "$pid" ]
    34         do
    35                 pid=$(ps aux -W | grep MATLAB | awk '{printf("%s\n","MATLAB");}')
    36                 sleep 1;
    37         done
    38         echo "DONE!"
    39 else
    40         wait
    41 fi
     31        sleep 1
     32done
    4233
    4334if [[ $(cat matlab.log | grep -c SUCCESS) -lt 10 ]]; then
Note: See TracChangeset for help on using the changeset viewer.