IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 27, 2026, 2:48:07 PM (11 hours ago)
Author:
eugene
Message:

better test options for pstamp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-pstamp-20260421/pstamp/test/pstamptest.reset.sh

    r43092 r43111  
    2828set day   = `date +%d`
    2929
    30 foreach f ($workdir/$year/$month/$day/*)
    31   echo rm -rf $f
    32        rm -r f$f
    33 end
     30test -e $workdir/$year/$month/$day
     31if ($status == 0) then
     32  set Ndir = `ls $workdir/$year/$month/$day`
     33
     34  if ($Ndir) then 
     35    foreach f ($workdir/$year/$month/$day/*)
     36      echo rm -rf $f
     37           rm -r f$f
     38    end
     39  endif
     40endif
     41
     42echo "removed old pstamp workdir entries"
    3443
    3544mysql -h localhost -u ipp -p pstamp < ~/src/panstarrs/ipp-pstamp-20260424/pstamp/doc/droptables.sql
Note: See TracChangeset for help on using the changeset viewer.