From bc3aec5a08b5936fd556752e0fc546679d1eb6cc Mon Sep 17 00:00:00 2001 From: magikcypress Date: Tue, 21 Feb 2017 04:04:26 +0100 Subject: [PATCH] =?UTF-8?q?Correction=20qualit=C3=A9=20check=5Fprocess?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/install | 3 +++ scripts/remove | 3 +++ 2 files changed, 6 insertions(+) diff --git a/scripts/install b/scripts/install index 28c8398..fbb08fb 100644 --- a/scripts/install +++ b/scripts/install @@ -1,5 +1,8 @@ #!/bin/bash +# Exit on command errors and treat unset variables as an error +set -eu + source .fonctions # Charge les fonctions génériques habituellement utilisées dans le script CLEAN_SETUP () { diff --git a/scripts/remove b/scripts/remove index 1a26f82..49266a2 100644 --- a/scripts/remove +++ b/scripts/remove @@ -1,5 +1,8 @@ #!/bin/bash +# Exit on command errors and treat unset variables as an error +set -eu + source .fonctions # Charge les fonctions génériques habituellement utilisées dans le script # Source app helpers