summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-01-30 12:34:34 +0100
committermakefu <github@syntax-fehler.de>2014-01-30 12:34:34 +0100
commit9784aab17ab76440057aaa3b7508762ee2ea1fdd (patch)
treee9f74b454cab3e33ca1407dc69f7a24b97524df0
parent880f025d789b3752107efd4e26fc6305f0ed484e (diff)
ship/build: set -o posix may crash the shell if it is not existing
-rwxr-xr-xship/build3
1 files changed, 1 insertions, 2 deletions
diff --git a/ship/build b/ship/build
index 3f96cfe1..730f72ee 100755
--- a/ship/build
+++ b/ship/build
@@ -43,8 +43,7 @@ EOF
## usage: #@strict -> build_strict_mode \1
build_strict_mode() { cat<<EOF
$1a\\
-set -euf\\
-set -o posix || :
+set -euf
EOF
}