[M3devel] config file issue

Jay K jay.krell at cornell.edu
Tue Jul 21 14:37:15 CEST 2009


Olaf..sorry, this movement to the config directory seemed very easy at the time..and it is still not quite working.
 
 
http://tinderbox.elegosoft.com/tinderbox/cgi-bin/gunzip.cgi?tree=cm3&brief-log=1248139749.31541
 
 
"/home/m3/work/cm3-inst/birch.elegosoft.com/current/bin/cm3cfg.common", line 170: quake runtime error: undefined variable: ROOT


That's probably an old version, where the use isn't guarded with if defined.
 
upgrade.sh:
 
if [ ! -d  "${INSTALLROOT}/bin/config" ]; then
  echo "create new config sub directory ${INSTALLROOT}/bin/config"
  cp_config_files
fi

 
Why the guard with ! -d?
How about just always do it?
 
There are other paths...I don't understand..how about just always do it?
 

 - Jay


More information about the M3devel mailing list