From 73b0912087ea80b163b72b3d9cc17a6c0e35760d Mon Sep 17 00:00:00 2001
From: andy <a.heather@opencfd.co.uk>
Date: Tue, 1 Sep 2009 10:57:48 +0100
Subject: [PATCH] do not export WM_PROJECT_VERSION if already set

---
 etc/bashrc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/etc/bashrc b/etc/bashrc
index b4af75e7168..df864b40e12 100644
--- a/etc/bashrc
+++ b/etc/bashrc
@@ -33,7 +33,7 @@
 #------------------------------------------------------------------------------
 
 export WM_PROJECT=OpenFOAM
-export WM_PROJECT_VERSION=dev
+[ -z "$WM_PROJECT_VERSION" ] && export WM_PROJECT_VERSION=1.6
 
 ################################################################################
 # USER EDITABLE PART
-- 
GitLab