Changeset 39551 for trunk/dvodist/scripts/mkdist.pv0.3pi.20120525.sh
- Timestamp:
- Apr 25, 2016, 10:13:41 AM (10 years ago)
- File:
-
- 1 moved
-
trunk/dvodist/scripts/mkdist.pv0.3pi.20120525.sh (moved) (moved from trunk/dvodist/scripts/mkdist.20120525.sh ) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dvodist/scripts/mkdist.pv0.3pi.20120525.sh
r39550 r39551 4 4 5 5 # general locations 6 set wwwroot = /data/ippc 11.0/www/dvodist/www-root7 set catroot = /data/ipp064.0/eugene/3pi. 20111229/catdir.201205256 set wwwroot = /data/ippc32.0/www/dvodist/www-root 7 set catroot = /data/ipp064.0/eugene/3pi.pv0.20120525 8 8 9 set catdir = 3pi. 20120525.new9 set catdir = 3pi.pv0.20120525 10 10 set cattgt = $wwwroot/$catdir 11 11 … … 13 13 set slist = (s0000 s0730 s1500 s2230 s3000 s3730 s4500 s5230 s6000 s6730 s7500 s8230) 14 14 15 set extlist = (cpt cpm cps cpn) 16 15 17 # top-level files 16 mkdir -p $cattgt 17 foreach file (HostTable.dat Images.dat Photcodes.dat SkyTable.fits flatcorr.fits) 18 ln -s $catroot/$file $cattgt 19 end 20 21 # make DEC directories 22 foreach dir ($nlist $slist) 23 mkdir $cattgt/$dir 24 end 18 if (1) then 19 mkdir -p $cattgt 20 foreach file (HostTable.dat Images.dat Photcodes.dat SkyTable.fits flatcorr.fits) 21 ln -s $catroot/$file $cattgt 22 end 23 24 # make DEC directories 25 foreach dir ($nlist $slist) 26 mkdir $cattgt/$dir 27 end 28 endif 25 29 26 30 # link all files from all hostdirs into all DEC dirs … … 28 32 echo $hostdir 29 33 foreach dir ($nlist $slist) 30 ln -s $hostdir/$dir/*.cpt $cattgt/$dir 31 ln -s $hostdir/$dir/*.cpm $cattgt/$dir 32 ln -s $hostdir/$dir/*.cps $cattgt/$dir 33 ln -s $hostdir/$dir/*.cpn $cattgt/$dir 34 echo $hostdir : $dir 35 foreach ext ($extlist) 36 echo $hostdir : $dir : $ext 37 ln -sf $hostdir/$dir/*.$ext $cattgt/$dir 38 end 34 39 end 35 40 end
Note:
See TracChangeset
for help on using the changeset viewer.
