| # | Line 5 | Line 5 | |
|---|---|---|
| 5 | set instdir = $1 | |
| 6 | set libdir = $2 | |
| 7 | ||
| 8 | + | # Need to execute in containing directory: |
| 9 | + | if ($0:h != $0) cd $0:h |
| 10 | + | |
| 11 | set TLIBFILES = ( *[a-z].tcl *.hlp trad.icon tclIndex ) | |
| 12 | ||
| 13 | set TDIFFS = (`ls | sed -n 's/3\.6\.tcl$//p'`) | |
| # | Line 30 | Line 33 | endif | |
| 33 | ||
| 34 | echo "Installing trad using $wishcom" | |
| 35 | ||
| 36 | < | sed -e "1s|/usr/local/bin/wish4\.0|$wishcom|" \ |
| 36 | > | sed -e "1s|/usr/bin/wish|$wishcom|" \ |
| 37 | -e "s|^set radlib .*|set radlib $libdir|" trad.wsh > $instdir/trad | |
| 38 | chmod 755 $instdir/trad | |
| 39 | if (! -d $libdir) then | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |