IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 26, 2015, 3:12:16 PM (11 years ago)
Author:
eugene
Message:

convert to pslib-setsvnversion.pl to parse svn version info

File:
1 moved

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20150326/psLib/etc/pslib-setsvnversion.pl

    r38014 r38016  
    8787close (FILE);
    8888
     89if (! -e $ARGV[2]) {
     90    if ($VERBOSE) {
     91        print "prior $ARGV[2] not found, replacing with $output\n";
     92    }
     93    rename $output, $ARGV[2];
     94    exit 0;
     95}
     96
    8997$difflines = `diff $ARGV[2] $output`;
    9098if ($difflines eq "") {
    91     if ($VERBOSE) { print "no change to $ARGV[2], keeping old version\n"; }
     99    print "  setsvnversion.pl: no change to $ARGV[2], keeping old version\n";
    92100} else {
    93101    if ($VERBOSE) {
Note: See TracChangeset for help on using the changeset viewer.