head 1.2; access; symbols first:1.1.1.1 new:1.1.1; locks; strict; comment @# @; 1.2 date 2008.03.17.09.47.08; author fafa1971; state Exp; branches; next 1.1; commitid 3d5a47de3dfb4567; 1.1 date 2008.02.18.12.18.26; author fafa1971; state Exp; branches 1.1.1.1; next ; commitid 82647b977844567; 1.1.1.1 date 2008.02.18.12.18.26; author fafa1971; state Exp; branches; next ; commitid 82647b977844567; desc @@ 1.2 log @Added "lain.ux"-style check for existance of M1_ROOT environment variable before proceeding. @ text @#!/bin/bash if [ -z "$M1_ROOT" ]; then echo "***ERROR***: M1_ROOT variable is undefined, please set it and run 'source sourceme'."; exit 1; fi if ! [ -d "$M1_ROOT" ]; then echo "***ERROR***: directory '$M1_ROOT' does not exist, please check it and run 'source sourceme' again."; exit 1; fi cd $M1_ROOT/run/sim/icarus ln -f -s ../../../tests/code.txt . ./testbench 2>&1 | tee sim.log @ 1.1 log @Initial revision @ text @d3 3 @ 1.1.1.1 log @First public release @ text @@