about summary refs log tree commit diff stats
path: root/linkify
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2018-02-20 01:36:02 -0800
committerKartik K. Agaram <vc@akkartik.com>2018-02-20 01:38:15 -0800
commitba838feae98ad0e3a403429422bad3f6fa4367cc (patch)
tree56df29adee7d0394a2cc359e930c36e4f410602c /linkify
parentcd1113882450382ebe39db7dd8690812bac1aba7 (diff)
downloadmu-ba838feae98ad0e3a403429422bad3f6fa4367cc.tar.gz
4211
Just ran into first issue from using the portable /bin/sh rather than a
modern shell:
  https://stackoverflow.com/questions/15744421/read-command-doesnt-wait-for-input

Turn on errexit everywhere.
Diffstat (limited to 'linkify')
-rwxr-xr-xlinkify/build1
-rwxr-xr-xlinkify/clean2
2 files changed, 3 insertions, 0 deletions
diff --git a/linkify/build b/linkify/build
index 54c3f459..3c96ad00 100755
--- a/linkify/build
+++ b/linkify/build
@@ -1,3 +1,4 @@
 #!/bin/sh
+set -e
 
 c++ -g linkify.cc -o linkify
diff --git a/linkify/clean b/linkify/clean
index 7838b78a..3feef907 100755
--- a/linkify/clean
+++ b/linkify/clean
@@ -1,2 +1,4 @@
 #!/bin/sh
+set -e
+
 rm -rf linkify *.dSYM