From ade49e6f665cb3f4cb02c9cdc0048aeed97df11b Mon Sep 17 00:00:00 2001 From: Randy LeVeque Date: Fri, 5 Jul 2013 13:41:09 -0700 Subject: [PATCH 1/2] Fixed typos in make_clawtop.sh --- src/make_clawtop.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/make_clawtop.sh b/src/make_clawtop.sh index 58222a36..175467a3 100644 --- a/src/make_clawtop.sh +++ b/src/make_clawtop.sh @@ -11,6 +11,6 @@ ln -sf $GITDIR/pyclaw/src/pyclaw pyclaw ln -sf $GITDIR/visclaw/src/python/visclaw visclaw ln -sf $GITDIR/riemann/src/python/riemann riemann ln -sf $GITDIR/clawutil/src/python/clawutil clawutil -ln -sf $GITDIR/clawutil/src/python/clawutil amrclaw -ln -sf $GITDIR/clawutil/src/python/geoclaw geoclaw +ln -sf $GITDIR/amrclaw/src/python/amrclaw amrclaw +ln -sf $GITDIR/geoclaw/src/python/geoclaw geoclaw cd $GITDIR From 9163fb4ff66911bfd497c58de9bf969cb304a70d Mon Sep 17 00:00:00 2001 From: Randy LeVeque Date: Fri, 5 Jul 2013 14:03:23 -0700 Subject: [PATCH 2/2] modified make_clawtop.sh... ln -sf doesn't work for directories, so changed to -s. Added echo of what has been done --- src/make_clawtop.sh | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/make_clawtop.sh b/src/make_clawtop.sh index 175467a3..ee1c772c 100644 --- a/src/make_clawtop.sh +++ b/src/make_clawtop.sh @@ -7,10 +7,14 @@ GITDIR=`pwd` mkdir -p $CLAWTOP/clawpack cd $CLAWTOP/clawpack echo " " > __init__.py -ln -sf $GITDIR/pyclaw/src/pyclaw pyclaw -ln -sf $GITDIR/visclaw/src/python/visclaw visclaw -ln -sf $GITDIR/riemann/src/python/riemann riemann -ln -sf $GITDIR/clawutil/src/python/clawutil clawutil -ln -sf $GITDIR/amrclaw/src/python/amrclaw amrclaw -ln -sf $GITDIR/geoclaw/src/python/geoclaw geoclaw +ln -s $GITDIR/pyclaw/src/pyclaw pyclaw +ln -s $GITDIR/visclaw/src/python/visclaw visclaw +ln -s $GITDIR/riemann/src/python/riemann riemann +ln -s $GITDIR/clawutil/src/python/clawutil clawutil +ln -s $GITDIR/amrclaw/src/python/amrclaw amrclaw +ln -s $GITDIR/geoclaw/src/python/geoclaw geoclaw cd $GITDIR + +echo Created python/clawpack directory with symbolic links to python dirctories +echo Modify your PYTHONPATH to include $CLAW/python +echo so you can import clawpack modules