projects
/
xonotic
/
xonotic.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62c00cf
)
make at least ./all update work in zsh too
author
Rudolf Polzer <divverent@alientrap.org>
Mon, 8 Nov 2010 20:16:50 +0000
(21:16 +0100)
committer
Rudolf Polzer <divverent@alientrap.org>
Mon, 8 Nov 2010 20:16:50 +0000
(21:16 +0100)
all
patch
|
blob
|
history
diff --git
a/all
b/all
index 64cd09977905099018505f0f63de0af3c09af378..bdd65d992b4217d2379679e14cea3897465d9851 100755
(executable)
--- a/
all
+++ b/
all
@@
-2,6
+2,9
@@
# vim: filetype=zsh
set -e
+if [ -n "$ZSH_VERSION" ]; then
+ setopt SH_WORD_SPLIT
+fi
# I use this in EVERY shell script ;)
LF="
@@
-36,7
+39,7
@@
esac
msg()
{
- echo >&2 "$ESC
[1m$*$ESC
[m"
+ echo >&2 "$ESC
""[1m$*$ESC""
[m"
}
self=`git hash-object "$SELF"`