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

Comparing ray/src/util/tradinstall.csh (file contents):
Revision 2.6 by gwlarson, Tue Sep 15 11:17:34 1998 UTC vs.
Revision 2.8 by greg, Wed Oct 26 20:06:17 2011 UTC

# Line 1 | Line 1
1   #!/bin/csh -fe
2 < # SCCSid "$SunId$ LBL"
2 > # RCSid: $Id$
3   # Install correct version of trad for wish or wish4.0
4   #
5   set instdir = $1
# Line 24 | Line 24 | if (! $?wishcom) then
24          echo "Cannot find wish executable in current path -- trad not installed."
25          exit 1
26   endif
27 < if ( $wishcom:t == wish ) then
28 <        set wishcom="$wishcom -f"
29 <        set oldwish
27 > if ("`file $wishcom`" =~ "*shell script*") then
28 >        set wishcom="/bin/sh"
29   endif
30  
31   echo "Installing trad using $wishcom"
# Line 39 | Line 38 | if (! -d $libdir) then
38   endif
39   (cd $libdir ; rm -f $TLIBFILES)
40   cp $TLIBFILES $libdir
42 if ($?oldwish) then
43        foreach i ($TDIFFS)
44                rm -f $libdir/$i.tcl
45                cp ${i}3.6.tcl $libdir/$i.tcl
46        end
47 endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines