From cd635184f3e09201e30054ea08c8981d501b49af Mon Sep 17 00:00:00 2001
From: Juan Escobar <juan.escobar@aero.obs-mip.fr>
Date: Thu, 4 Dec 2014 16:09:11 +0000
Subject: [PATCH] Juan 4/12/2014: replace module rm with switch & ksh with bash

---
 src/configure | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/configure b/src/configure
index 1170a7b96..1029e30f8 100755
--- a/src/configure
+++ b/src/configure
@@ -1,4 +1,4 @@
-#!/bin/ksh
+#!/bin/bash
 #MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
 #MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
 #MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt  
@@ -209,9 +209,7 @@ module rm grib_api
                 then
                 export MNHENV=${MNHENV:-"
 . /opt/modules/default/init/bash
-module rm grib_api
-module rm PrgEnv-cray
-module load PrgEnv-intel
+module switch PrgEnv-cray PrgEnv-intel
 "}
                 fi
                 fi
-- 
GitLab