Changeset 33 for trunk


Ignore:
Timestamp:
Feb 17, 2018, 2:03:31 PM (7 years ago)
Author:
gegorbet
Message:

fix PHP script to update notices, so that is uses 4.0, not 3.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/update_notice.php

    r32 r33  
    77// Get the US3 system release of latest file on download site
    88$s_cmd1 = "ssh us3@ultrascan.uthscsa.edu 'ls -t /srv/www/htdocs/ultrascan3/software/*4.0*";
    9 $s_cmd1 = "$s_cmd1 | sed -n 1p | sed -e s@^.*3.5@3.5@ | cut -d. -f1-3 | sed -e s@\-setup@@" . "'";
     9$s_cmd1 = "$s_cmd1 | sed -n 1p | cut -d\- -f3" . "'";
    1010$s_cmd2 = exec( $s_cmd1 );
    1111$sysrev = $s_cmd2;
Note: See TracChangeset for help on using the changeset viewer.