about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xsubx/diff_ntranslate1
-rwxr-xr-xsubx/diff_translate1
2 files changed, 2 insertions, 0 deletions
diff --git a/subx/diff_ntranslate b/subx/diff_ntranslate
index a6fb3737..46e76844 100755
--- a/subx/diff_ntranslate
+++ b/subx/diff_ntranslate
@@ -1,5 +1,6 @@
 #!/usr/bin/env zsh
 
+set -e
 subx translate $* -o a0.elf
 xxd a0.elf > a0.xxd
 ./ntranslate $*  # into a.elf and a.xxd
diff --git a/subx/diff_translate b/subx/diff_translate
index d0224fd7..dbe55a24 100755
--- a/subx/diff_translate
+++ b/subx/diff_translate
@@ -1,5 +1,6 @@
 #!/usr/bin/env zsh
 
+set -e
 subx translate $* -o a0.elf
 xxd a0.elf > a0.xxd
 ./translate $*  # into a.elf and a.xxd