Last change
on this file since 2523 was
1225,
checked in by mitchb, 15 years ago
|
Make athrun use arch/@sys/bin instead of just bin
|
-
Property svn:executable set to
*
|
File size:
499 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | # An analog of the Athena athrun utility for scripts.mit.edu. |
---|
4 | # The Athena athrun was written by Greg Hudson. |
---|
5 | # This version was kludged by Mitchell Berger. |
---|
6 | # "athrun moira" runs moira from the moira locker. |
---|
7 | # "athrun gnu gls -l" runs gls -l from the gnu locker. |
---|
8 | |
---|
9 | case $# in |
---|
10 | 0) |
---|
11 | echo "Usage: athrun locker [program] [args ...]" >&2 |
---|
12 | exit 1 |
---|
13 | ;; |
---|
14 | 1) |
---|
15 | exec "/mit/$1/arch/@sys/bin/$1" |
---|
16 | ;; |
---|
17 | *) |
---|
18 | locker=$1 |
---|
19 | program=$2 |
---|
20 | shift 2; |
---|
21 | exec "/mit/$locker/arch/@sys/bin/$program" "$@" |
---|
22 | ;; |
---|
23 | esac |
---|
Note: See
TracBrowser
for help on using the repository browser.