| 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 |
| 30 |
< |
# endif |
| 27 |
> |
if ("`file $wishcom`" =~ "*shell script*") then |
| 28 |
> |
set wishcom="/bin/sh" |
| 29 |
> |
endif |
| 30 |
|
|
| 31 |
|
echo "Installing trad using $wishcom" |
| 32 |
|
|
| 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 |