mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
[svn-r1313] Neither SGI nor Solaris allows an empty 'then' body.
Changed it to conditional statements. Tested fine in SGI and Solaris.
This commit is contained in:
parent
006e67409b
commit
c752adc4ac
@ -48,13 +48,10 @@ if [ -d ${COMPARE}/previous ]; then
|
||||
if (diff -c ${COMPARE}/previous/MANIFEST ${COMPARE}/current/MANIFEST); then
|
||||
snapshot=no
|
||||
for src in `grep '^\.' ${COMPARE}/current/MANIFEST|expand|cut -f1 -d' '`; do
|
||||
if (diff -I H5_VERS_RELEASE -I " released on " \
|
||||
${COMPARE}/previous/$src ${COMPARE}/current/$src); then
|
||||
else
|
||||
diff -I H5_VERS_RELEASE -I " released on " \
|
||||
${COMPARE}/previous/$src ${COMPARE}/current/$src || \
|
||||
snapshot=yes
|
||||
# Don't break because we want to see all the diffs.
|
||||
#break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user