source: trunk/examples/demo.bash @ 145

Last change on this file since 145 was 145, checked in by dkearney, 18 years ago

adjusted the paths in demo.bash so its easier to change when users
install rappture in places other than /opt/rappture.
adjusted rerun so it calls 'rappture' instead on calling 'driver'

  • Property svn:executable set to *
File size: 478 bytes
RevLine 
[105]1#!/bin/bash
2#
3# use this script to run several rappture examples:
4#       % ./rundemo
5# when you exit from one example, the next one will start and display on your
6# screen.
7#
8
[145]9rpdir=/opt/rappture
[131]10
[145]11exdir=$rpdir/examples
12
[128]13dirs="app-fermi/tcl app-fermi/python app-fermi/fortran c-example graph zoo/structure zoo/image zoo/cloud"
[105]14
[145]15echo "7 examples will be shown-->"
[105]16for i in $dirs
17do
18        echo $exdir/$i
19        cd $exdir/$i
[145]20        $rpdir/bin/rappture
[105]21done
22
23cd $exdir/3D
[145]24$rpdir/bin/rerun 3d_test_run.xml
Note: See TracBrowser for help on using the repository browser.