summaryrefslogtreecommitdiffstats
path: root/bin/snapshot
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2000-03-13 15:20:46 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2000-03-13 15:20:46 (GMT)
commitdae4c6c1ebad07b4e3b2a6ebbdba0d1db8223368 (patch)
treee7a9161835614d22b686e6a7df2a7c306a300fea /bin/snapshot
parent8d0d7bd1da26c34ac0266e596f3720d2539efde6 (diff)
downloadhdf5-dae4c6c1ebad07b4e3b2a6ebbdba0d1db8223368.zip
hdf5-dae4c6c1ebad07b4e3b2a6ebbdba0d1db8223368.tar.gz
hdf5-dae4c6c1ebad07b4e3b2a6ebbdba0d1db8223368.tar.bz2
[svn-r2024] Added comments why the replacement of PREVIOUS should process even
if the overall release process has an error.
Diffstat (limited to 'bin/snapshot')
-rwxr-xr-xbin/snapshot3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/snapshot b/bin/snapshot
index 5bf1931..3b29e2b 100755
--- a/bin/snapshot
+++ b/bin/snapshot
@@ -255,6 +255,9 @@ if [ "$cmd" = "all" -o -n "$cmdrel" ]; then
fi
# Replace the previous version with the current version.
+ # Should check if the errcode of the release process but there
+ # are other failures after release was done (e.g. h5vers or cvs failures)
+ # that should allow the replacement to occure.
rm -rf ${PREVIOUS}
mv ${CURRENT} ${PREVIOUS}
fi #Release snapshot