fix for bug 2936341: EDITOR env var does not work with tabedit

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5260 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2010-02-23 11:14:40 +00:00
parent 36c61839a3
commit 57578f9f08

View File

@ -41,7 +41,7 @@ SUM=`$SUMPROGRAM /tmp/tabedit.$$/$TABLE.csv`
EXIT=0
while [ $EXIT -eq 0 ]; do
cd /tmp/tabedit.$$
"$TABEDITOR" $TABLE.csv
$TABEDITOR $TABLE.csv
cd - >/dev/null
NEWSUM=`$SUMPROGRAM /tmp/tabedit.$$/$TABLE.csv`
if [ "$NEWSUM" == "$SUM" ]; then