summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-12-11 01:17:30 +0100
committermakefu <github@syntax-fehler.de>2013-12-11 01:17:30 +0100
commit9c5150a71affdd436a524f4f96c2c001f18ef09f (patch)
tree88fd59581a53e42bab02b068a812625d35dfc249
parent893c529590c68c0d0c1fdd1e39f442023f434404 (diff)
build - because : is the new true
-rwxr-xr-xship/build6
1 files changed, 3 insertions, 3 deletions
diff --git a/ship/build b/ship/build
index 2051a7db..f7dcf3c2 100755
--- a/ship/build
+++ b/ship/build
@@ -44,13 +44,13 @@ EOF
build_strict_mode() { cat<<EOF
$1a\\
set -euf\\
-set -o posix || true
+set -o posix || :
EOF
}
## usage: #@info -> build_info \1
-build_info() {
- gitinfo=$(git describe --always --dirty --abbrev=0 2>/dev/null || true)
+build_info() {
+ gitinfo=$(git describe --always --dirty --abbrev=0 2>/dev/null || :)
cat<<EOF
$1a\\
# this file was generated by //ship/build\\