mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[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:
parent
e1747e456c
commit
636b5829a9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user