From: marko Date: Thu, 1 Nov 2007 17:37:20 +0000 (+0000) Subject: Nuke a now redundant check whether we are running in a default X-Git-Url: https://git.entuzijast.net/?a=commitdiff_plain;h=f324968792779df6d0e625d8db2915d9039ac33d;p=imunes.git Nuke a now redundant check whether we are running in a default vimage. Regardless whether we are at the top of the vimage tree or not, the current vimage will have an address of ".". More importantly, we can now _really_ start new experiments from within non-default vimages, i.e. run IMUNES inside IMUNES! While here, bump our "version" date. Bug found by: Submitted by: Reviewed by: Approved by: Obtained from: --- diff --git a/imunes b/imunes index fdaddf2..1527e86 100755 --- a/imunes +++ b/imunes @@ -35,15 +35,6 @@ # -if [ `id -ur` -eq 0 -a -x /sbin/vimage ]; then - vimage=`vimage` - if [ `expr ${vimage} != "."` -ne 0 ]; then - echo "Imunes cannot be started from virtual image!" - echo "(exit to default and try again)" - exit 2 - fi -fi - SHELL=/bin/sh export SHELL @@ -57,7 +48,7 @@ case $1 in exec tclsh8.4 $imunes "$@" ;; -v | --version) - exec echo IMUNES version 2006-03-07 + exec echo IMUNES version 2007-11-01 ;; *) exec wish8.4 $imunes "$@"