#!/bin/sh export Tcl="/usr/bin/tclsh" if [ "x$1" = "x" ] ; then echo "bld2rc requires an input file argument" exit 1 fi if [ "x$Tcl" = "x" ] ; then echo 'tclsh not found'; echo 'Please rerun configure with \"--with-tclsh=/path/to/your/tclsh\" added' exit 1; fi if [ -f /home/jacklm/cca/ws/simtk-cca/install/ccafe/share/ccafe-0.5.7/bld2rc.tcl ] ; then Simp=/home/jacklm/cca/ws/simtk-cca/install/ccafe/share/ccafe-0.5.7/bld2rc.tcl; fi if [ -f /home/jacklm/cca/ws/simtk-cca/install/ccafe/share/ccafe-0.5.7/bld2rc.tcl ] ; then Simp=/home/jacklm/cca/ws/simtk-cca/install/ccafe/share/ccafe-0.5.7/bld2rc.tcl; fi if [ -f /home/jacklm/cca/ws/simtk-cca/install/ccafe/bin/bld2rc.tcl ] ; then Simp=/home/jacklm/cca/ws/simtk-cca/install/ccafe/bin/bld2rc.tcl; fi if [ 'x$Simp' = 'x' ] ; then echo 'bld2rc.tcl not found in pwd'; exit 1; fi exec $Tcl $Simp -- $* exit 0