Wiki

root/cobra/trunk/Source/cobra

Revision 2520, 236 bytes (checked in by Charles.Esterbrook, 12 months ago)

Enhance cobra bash script to pass --debug to mono.

  • Property svn:executable set to *
Line 
1#!/bin/bash
2DIR=`dirname $0`
3if [ ! -d "$DIR/Cobra.Lang" ]; then
4    REALPATH=`readlink $0`
5    if [ -f $REALPATH ]; then
6        DIR=`dirname $REALPATH`
7    else
8        echo "error: cannot find Cobra.Lang"
9        exit 1
10    fi
11fi
12mono --debug "$DIR/cobra.exe" $*
Note: See TracBrowser for help on using the browser.