From 04d781ad8613bdb005fccb3c546243ff705b425b Mon Sep 17 00:00:00 2001
From: lintao <lintao51@gmail.com>
Date: Wed, 9 Sep 2020 14:36:43 +0800
Subject: [PATCH] WIP: fixed the lcg version in the setup and build script.

---
 build.sh | 1 +
 setup.sh | 4 +---
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/build.sh b/build.sh
index f767c2ed..b7f11d7f 100755
--- a/build.sh
+++ b/build.sh
@@ -78,6 +78,7 @@ function run-make() {
 
 # The current default platform
 lcg_platform=x86_64-slc6-gcc8-opt
+lcg_version=97.0.2
 
 check-cepcsw-envvar || exit -1
 
diff --git a/setup.sh b/setup.sh
index 17f0ac16..bf0d1195 100644
--- a/setup.sh
+++ b/setup.sh
@@ -5,8 +5,6 @@
 #
 # Usage:
 # $ source setup.sh
-# or:
-# $ source setup.sh 97.0.2
 #
 # Author: Tao Lin <lintao@ihep.ac.cn>
 ##############################################################################
@@ -48,7 +46,7 @@ function setup-external() {
 # Parse the command line options
 ##############################################################################
 
-CEPCSW_LCG_VERSION=${1}; shift
+# CEPCSW_LCG_VERSION=${1}; shift
 
 if [ -z "$CEPCSW_LCG_VERSION" ]; then
     CEPCSW_LCG_VERSION=97.0.2
-- 
GitLab