chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5628c34
)
bin/mdw-build: Strip path from program name in messages.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 10 Feb 2016 01:11:48 +0000
(
01:11
+0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Wed, 10 Feb 2016 02:11:06 +0000
(
02:11
+0000)
bin/mdw-build
patch
|
blob
|
blame
|
history
diff --git
a/bin/mdw-build
b/bin/mdw-build
index fa3eb3ef63ba9ea12f07abf3d562a07e8d0eee99..7247073e3924d75584769131e721d624012404a6 100755
(executable)
--- a/
bin/mdw-build
+++ b/
bin/mdw-build
@@
-56,9
+56,11
@@
set -e
###--------------------------------------------------------------------------
### Parse options.
###--------------------------------------------------------------------------
### Parse options.
+prog=${0##*/}
+
usage () {
cat <<EOF
usage () {
cat <<EOF
-Usage: $
0
[-vr] BUILDOPT
+Usage: $
prog
[-vr] BUILDOPT
Build options:
Build options: