[svn-r11309] Purpose:

Bug fix.

Description:
Error encountered in the clean command was not passed back to calling
command.  Fixed it.

Platforms tested:
heping (where clean has no error) and sol (where clean has error).
This commit is contained in:
Albert Cheng 2005-08-29 10:01:20 -05:00
parent e1747e456c
commit 636b5829a9

View File

@ -469,9 +469,9 @@ if [ -n "$cmdclean" ]; then
esac
TESTDIR=${BASEDIR}/TestDir/${SRCDIRNAME}
fi
# Make sure current version exists and is clean
if [ -d ${TESTDIR} ]; then
(cd ${TESTDIR} && ${MAKE} $cmdclean )
# clean it
if (cd ${TESTDIR} && ${MAKE} $cmdclean ) then
:
else
errcode=$?
snapshot=no