Explorar el Código

set -eu sur le fichier d'install

magikcypress hace 8 años
padre
commit
8933a9d46a
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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
 #=================================================