Mercurial > hg > aboriginal
comparison more/test.sh @ 1248:3e7bf55b1bfb
Tighten up test.sh usage message.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 15 Sep 2010 18:06:30 -0500 |
parents | 300e6d919d86 |
children | b74d36876c0a |
comparison
equal
deleted
inserted
replaced
1247:84ea1b53b73c | 1248:3e7bf55b1bfb |
---|---|
2 | 2 |
3 # Run a command with sources/include.sh and an architecture loaded | 3 # Run a command with sources/include.sh and an architecture loaded |
4 | 4 |
5 if [ $# -eq 0 ] | 5 if [ $# -eq 0 ] |
6 then | 6 then |
7 echo "Usage: test.sh ARCH COMMAND..." >&2 | 7 echo "Usage: [STAGE_NAME=...] more/test.sh ARCH COMMAND..." >&2 |
8 echo "You generally want to set STAGE_NAME= too." | |
9 exit 1 | 8 exit 1 |
10 fi | 9 fi |
11 | 10 |
12 . sources/include.sh || exit 1 | 11 . sources/include.sh || exit 1 |
13 | 12 |