Skip to content

Commit

Permalink
modified make_clawtop.sh...
Browse files Browse the repository at this point in the history
ln -sf doesn't work for directories, so changed to -s.
Added echo of what has been done
  • Loading branch information
Randy LeVeque committed Jul 5, 2013
1 parent ade49e6 commit 9163fb4
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/make_clawtop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9163fb4

Please sign in to comment.