Parcourir la source

set -eu sur le fichier d'install

magikcypress il y a 8 ans
Parent
commit
8933a9d46a
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      scripts/install

+ 5 - 0
scripts/install

@@ -1,5 +1,10 @@
 #!/bin/bash
 
+#=================================================
+# Exit on command errors and treat unset variables as an error
+#=================================================
+set -eu
+
 #=================================================
 # GENERIC STARTING
 #=================================================