From 7bac0bb48dd18809fa015e91848dc8756c0fe536 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Fri, 19 Feb 2010 14:43:15 -0500 Subject: [svn-r18293] Added yodconfigure feature. Tested in RSQual of Sandia. --- bin/snapshot | 16 ++++++++++++---- 1 file 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 -- cgit v0.12