ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/ran2tiff.csh
(Generate patch)

Comparing ray/src/px/ran2tiff.csh (file contents):
Revision 2.1 by greg, Sat Sep 17 05:14:14 2005 UTC vs.
Revision 2.2 by greg, Thu Jan 24 03:52:37 2008 UTC

# Line 20 | Line 20 | while ("$argv[1]" =~ -*)
20                  breaksw
21          case -D:
22                  shift argv
23 +                if (! -d $argv[1]:q ) then
24 +                        echo "Directory $argv[1] does not exist"
25 +                        exit 1
26 +                endif
27                  set outdir=$argv[1]:q/
28                  breaksw
29          case -h*:
# Line 104 | Line 108 | foreach inp ($argv:q)
108                  | ra_tiff $tfopts - $outp:q
109          mv $vald/{,old}histo.dat
110   end
111 < if ($?histof) cp -f $vald/oldhisto.dat $histof
111 > if ($?histof) then
112 >        cp -f $vald/oldhisto.dat $histof
113 > endif
114   rm -rf $vald

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines