On 2/10/07, Jonas Karlsson <[EMAIL PROTECTED]> wrote: > > + if [ ! -z "`ls`" ] > > + then Die "Your ChrootCompile dir is not empty. Please correct and then > > rerun ChrootCompile." > > + fi > > + if [ "$chrootCompileDir" ] > > + then dirname="$chrootCompileDir" > > + else dirname="$PWD" > > + fi > > + Log_Normal "No ChrootCompile environment found in $dirname. Setting > > things up..." > > SetupChrootEnv > > fi > > How about making "setup-environment" taking an argument and default to > $PDW if no argument is given?
What do we do then with chrootCompileDir, currently set at ChrootCompile.conf? It'd better default to chrootCompileDir, if it's not empty, or to $PWD if it is. Does it sound good? -- Lucas powered by /dev/dsp _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel