#! /bin/sh # Defines the environment variables required to get an unlicensed IDL # residing in a non-standard location up and running the IDL demo. This # lets people give IDL a quick demo without having to get installation # and license management done first. # if [ "$IDL_DIR" = "" ]; then IDL_DIR=/export/data/scisoft/scisoft/idl/idl_5.5 export IDL_DIR fi IDL_PATH="" IDL_DEVICE=X export IDL_PATH IDL_DEVICE if [ ! -f $IDL_DIR/lib/hook/demo.sav ]; then echo " The IDL Demos have not been installed. Please consult the installation guide for instructions on installing the demos." exit 0 fi $IDL_DIR/bin/idl -em=$IDL_DIR/lib/hook/demo.sav