2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 01:26:38 +00:00

Merge pull request #495 from mfoliveira/patch-4

lsf_startup: fix LSF_VERSION expression
This commit is contained in:
Yuan Bai 2015-12-28 13:45:39 +08:00
commit 19bd82de4b

View File

@ -31,7 +31,7 @@ then
fi
#get lsf main version,
LSF_VERSION=`find /$LSF_TOP -name hostsetup|head -1|awk '{print $5}'`
LSF_VERSION="$(find /$LSF_TOP -path "*/install/hostsetup" | grep -o "/[^/]\+/install/hostsetup" | cut -d/ -f2)"
if [[ x${LSF_ADD_SERVERS} != x ]]; then
ALL_LSF_NODES=${LSF_MASTER_LIST}' '${LSF_ADD_SERVERS}