[ROOT] ROOT macro cannot be found

From: Stilianos Kesisoglou (kesisogl@fnal.gov)
Date: Mon Jun 28 2004 - 02:43:34 MEST


Hi,

	I am having a small problem running the following shell script that
invokes ROOT:

#!/bin/bash

....
....	some preliminary stuff here 
....

exec $ROOTSYS/bin/root cat<<ROOTSCRIPT
{
	.L myROOTmacro.C
	myROOTmacro( ... some args ... )
}
ROOTSCRIPT

	ROOT compain that it can't find the macro in the default path for
ROOT macros.
	What I don't understand is why ROOT look at this location. The macro
resides in the same
	directory that the shell script does, shouldn't be the first place
to look there?

	Thanks,

Stelios.



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET