cebrun - exit 1; fi fname=`basename $1` if [ $fname ==

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#!/bin/bash if [[ -e /cygdrive/c/ & $CYGWIN.test != "tty.test" ]]; then echo "You must set environment variable CYGWIN to tty before starting a cygwin shell." echo "Right-click on My Computer, then Properties, then Advanced, then Environment Variables." echo "Then kill this cygwin window and start a new one." exit 1; fi if [ $# -ne 1 ]; then echo "Use: ./cebrun.sh <appname>"
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: exit 1; fi fname=`basename $1` if [ $fname == &quot;image&quot; ]; then echo Turning off character echoing. .. stty -echo -icanon min 1 java dbg.UI --bootable image stty echo icanon exit 0 fi if [ ! -e $fname ]; then echo $fname does not exist exit 1; fi stty -echo -icanon min 1 java dbg.UI $fname stty echo icanon...
View Full Document

This note was uploaded on 10/12/2009 for the course CSE 378 taught by Professor Staff during the Spring '08 term at University of Washington.

Ask a homework question - tutors are online