| 1 | #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash |
| 2 | |
| 3 | set -e |
| 4 | name=`basenamescip-shell system . . basename. "$0"` |
| 5 | dir=`dirnamescip-shell system . . dirname. "$0"` |
| 6 | bin=`cd "$dir" && pwdscip-shell system . . pwd.` |
| 7 | |
| 8 | diescip-shell shell shell-project 0.0.0 die(). () { |
| 9 | echoscip-shell system . . echo. >&2 "$1" |
| 10 | exit 1 |
| 11 | } |
| 12 | |
| 13 | usagescip-shell shell shell-project 0.0.0 usage(). () { |
| 14 | diescip-shell shell shell-project 0.0.0 die(). "usage: $name" |
| 15 | } |
| 16 | |
| 17 | case "$#" in |
| 18 | 0) |
| 19 | ;; |
| 20 | *) |
| 21 | usagescip-shell shell shell-project 0.0.0 usage(). |
| 22 | ;; |
| 23 | esac |
| 24 | |
| 25 | eval `"$bin/platform"` |
| 26 | |
| 27 | echoscip-shell system . . echo. $HOST_OS |