| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | # |
| 3 | # Wrapper for dragon heap image |
| 4 | # |
| 5 | |
| 6 | case `unamescip-shell system . . uname. -s` in |
| 7 | Darwin) heap=ct.ppc-darwin ;; |
| 8 | *) heap=ct.x86-linux ;; |
| 9 | esac |
| 10 | |
| 11 | if testscip-shell system . . test. ! -r $heap ; then |
| 12 | echoscip-shell system . . echo. "ct: no heap image!" |
| 13 | exit 1 |
| 14 | fi |
| 15 | |
| 16 | exec sml @SMLload=$heap $@ |