Browse Source

add set -e to scripts

Émile Morel 10 years ago
parent
commit
8301e1ad2a
2 changed files with 5 additions and 1 deletions
  1. 3 1
      olinux/create_arm_debootstrap.sh
  2. 2 0
      olinux/create_sunxi_boot_files.sh

+ 3 - 1
olinux/create_arm_debootstrap.sh

@@ -1,9 +1,11 @@
-#/bin/sh
+#/bin/bash
 
 ######################
 #    Debootstrap     #
 ######################
 
+set -e
+
 show_usage() {
 cat <<EOF
 # NAME

+ 2 - 0
olinux/create_sunxi_boot_files.sh

@@ -4,6 +4,8 @@
 # Sunxi  compilation #
 ######################
 
+set -e
+
 show_usage() {
 cat <<EOF
 # NAME