summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2010-02-19 19:43:15 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2010-02-19 19:43:15 (GMT)
commit7bac0bb48dd18809fa015e91848dc8756c0fe536 (patch)
tree94f5d5bdd2e57dac4343802a7befa5ced4e08bec /bin
parent722a9f9f8b263c43b37ff801ba9383cb0ef1ddb3 (diff)
downloadhdf5-7bac0bb48dd18809fa015e91848dc8756c0fe536.zip
hdf5-7bac0bb48dd18809fa015e91848dc8756c0fe536.tar.gz
hdf5-7bac0bb48dd18809fa015e91848dc8756c0fe536.tar.bz2
[svn-r18293] Added yodconfigure feature.
Tested in RSQual of Sandia.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/snapshot16
1 files changed, 12 insertions, 4 deletions
diff --git a/bin/snapshot b/bin/snapshot
index 4235670..bb02595 100755
--- a/bin/snapshot
+++ b/bin/snapshot
@@ -199,6 +199,9 @@ while [ $# -gt 0 ] ; do
check-vfd)
CHECKVAL=check-vfd
;;
+ yodconfigure)
+ YODCONFIGURE=yes
+ ;;
--*)
OP_CONFIGURE="$OP_CONFIGURE $1"
;;
@@ -284,7 +287,14 @@ fi
# Setup the proper configure option (--with-zlib) to use zlib library
# provide ZLIB is non-empty.
ZLIB=${ZLIB:+"--with-zlib="$ZLIB}
-CONFIGURE="./configure $ZLIB $OP_CONFIGURE"
+if [ -n "$YODCONFIGURE" ]; then
+ cp configure configure.yod
+ bin/yodconfigure configure.yod
+ CONFIGURE="./configure.yod"
+else
+ CONFIGURE="./configure"
+fi
+CONFIGURE="$CONFIGURE $ZLIB $OP_CONFIGURE"
# Execute the requests
snapshot=yes
@@ -460,9 +470,7 @@ if [ "$cmd" = "all" -o -n "$cmdrel" ]; then
echo "Making snapshot release ($RELEASE_VERSION) to ${ReleaseDir}..."
bin/release -d $ReleaseDir $METHODS
perl bin/h5vers -i
- echo "Committing snapshot from current/bin/snapshot."
- ls
- svn -q commit -m "Snapshot $RELEASE_VERSION" .
+ svn -q commit -m "Snapshot $RELEASE_VERSION"
)
errcode=$?
fi