From f6d219b7c1123dc9f08d70f77ea860d2206231a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Loi=CC=88c=20Correnson?= <loic.correnson@cea.fr>
Date: Mon, 11 Jul 2022 11:28:04 +0200
Subject: [PATCH] [dune] export wp-cache variables in test.sh

---
 bin/test.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/test.sh b/bin/test.sh
index a08a3d356c3..1b8254771f1 100755
--- a/bin/test.sh
+++ b/bin/test.sh
@@ -127,15 +127,15 @@ function Cmd
 function SetEnv
 {
     if [ "$FRAMAC_WP_CACHE" = "" ]; then
-        FRAMAC_WP_CACHE=offline
+        export FRAMAC_WP_CACHE=offline
         Echo "Set FRAMAC_WP_CACHE=$FRAMAC_WP_CACHE"
     fi
 
     if [ "$FRAMAC_WP_QUALIF" != "" ]; then
-        FRAMAC_WP_CACHEDIR="$FRAMAC_WP_QUALIF"
+        export FRAMAC_WP_CACHEDIR="$FRAMAC_WP_QUALIF"
         Echo "Set FRAMAC_WP_CACHEDIR=$FRAMAC_WP_CACHEDIR"
     elif [ "$FRAMAC_WP_CACHEDIR" = "" ]; then
-        FRAMAC_WP_CACHEDIR="$CACHEDIR"
+        export FRAMAC_WP_CACHEDIR="$CACHEDIR"
         Echo "Set FRAMAC_WP_CACHEDIR=$FRAMAC_WP_CACHEDIR"
     fi
 
-- 
GitLab