[cig-commits] commit: Add setup.csh

Mercurial hg at geodynamics.org
Thu Feb 2 14:59:53 PST 2012


changeset:   68:ffc4ad85aa4e
tag:         tip
user:        Walter Landry <wlandry at caltech.edu>
date:        Thu Feb 02 14:59:28 2012 -0800
files:       setup.csh
description:
Add setup.csh


diff -r db5d0c6c7ab3 -r ffc4ad85aa4e setup.csh
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/setup.csh	Thu Feb 02 14:59:28 2012 -0800
@@ -0,0 +1,17 @@
+set relax=`pwd`
+
+if ( ! -f relax) then
+    echo
+    echo "*** Error! ***"
+    echo
+    echo "Source this script from the top-level Relax directory:"
+    echo
+    echo "    cd [directory containing 'setup.sh']"
+    echo "    source setup.sh"
+    echo 
+else
+    setenv PATH "{$relax}:{$relax/util}:{$PATH}"
+    setenv GMT_SHAREDIR "$relax/share"
+    setenv PROJ_LIB "$relax/share"
+    echo "Ready to run Relax."
+endif



More information about the CIG-COMMITS mailing list