From 9f3e0677e133063912c15587575fcf2d7ea9698f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@irstea.fr>
Date: Mon, 21 Oct 2019 01:23:44 +0200
Subject: [PATCH] =?UTF-8?q?D=C3=A9finit=20le=20SHELL=20au=20niveau=20du=20?=
 =?UTF-8?q?Makefile.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

La variable d'environnement SHELL est ignorée par make.
---
 .gitlab-ci.yml | 2 +-
 Makefile       | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 73e5ebfb..8280dfbb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,7 +11,7 @@ build:
   before_script:
     - apk update && apk add make bash
   script:
-    - env SHELL=/bin/bash make
+    - make
   artifacts:
     name: dist
     expire_in: 2 years
diff --git a/Makefile b/Makefile
index ec534821..06989393 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+export SHELL := /bin/bash
+
 .PHONY: all clean dist
 
 all: dist
-- 
GitLab