<p><b>dwj07@fsu.edu</b> 2011-12-07 15:02:13 -0700 (Wed, 07 Dec 2011)</p><p><br>
        -- BRANCH COMMIT --<br>
<br>
        Adding an example of explicit username and password in checkout line.<br>
<br>
        Fixing the check for pmetis.<br>
</p><hr noshade><pre><font color="gray">Modified: branches/ocean_projects/ocean_test_cases_staging/ocean/oceanTestCases.sh
===================================================================
--- branches/ocean_projects/ocean_test_cases_staging/ocean/oceanTestCases.sh        2011-12-07 21:42:34 UTC (rev 1245)
+++ branches/ocean_projects/ocean_test_cases_staging/ocean/oceanTestCases.sh        2011-12-07 22:02:13 UTC (rev 1246)
@@ -6,9 +6,11 @@
## The repository address below shows how to change the revision number.
## Be careful with the compile set for an older version, as not all the options
-## that exists now were present in older versions.
+## that exists now were present in older versions. Below that, is an example of
+## how to specify a username and password in the commit line.
# REPOSITORY_ADDRESS="https://svn-mpas-model.cgd.ucar.edu/trunk/mpas -r 995"
+# REPOSITORY_ADDRESS="https://svn-mpas-model.cgd.ucar.edu/trunk/mpas --username user --password pass"
REPOSITORY_ADDRESS="https://svn-mpas-model.cgd.ucar.edu/trunk/mpas"
COMPILE_SET="gfortran"
@@ -240,10 +242,15 @@
fi
## Check to see if pmetis is in path, as it is supposed to be. If not exit
-PMETIS_CHECK=`which pmetis | grep "no pmetis in"`
+which pmets 1> /dev/null 2> err
+PMETIS_CHECK=`grep "no pmetis in" err`
+rm err
-if [ -n "${PMETIS}" ]; then
+if [ -n "${PMETIS_CHECK}" ]; then
+        echo ""
+        echo "pmetis is not found."
        echo "pmetis must be in your path."
+        echo "exiting."
        exit
fi
</font>
</pre>