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.1 by greg, Wed Sep 13 16:14:12 1995 UTC vs.
Revision 2.2 by greg, Wed Sep 20 12:55:18 1995 UTC

# Line 5 | Line 5
5   set instdir = $1
6   set libdir = $2
7  
8 < set TLIBFILES = ( *.tcl *.hlp trad.icon tclIndex )
8 > set TLIBFILES = ( *[a-z].tcl *.hlp trad.icon tclIndex )
9  
10   set TDIFFS = (`ls | sed -n 's/3\.6\.tcl$//p'`)
11  
# Line 18 | Line 18 | end
18   if (! $?wishcom) then
19          foreach d ($path)
20                  if (-x $d/wish) then
21 <                        set wishcom = $d/wish
21 >                        set wishcom = "$d/wish -f"
22                          break
23                  endif
24          end
# Line 31 | Line 31 | endif
31  
32   echo "Installing trad using $wishcom"
33  
34 < sed -e "1s|/usr/local/bin/wish|$wishcom|" \
34 > sed -e "1s|/usr/local/bin/wish4\.0|$wishcom|" \
35          -e "s|^set radlib .*|set radlib $libdir|" trad.wsh > $instdir/trad
36   if ($status) exit 1
37   chmod 755 $instdir/trad

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines