[gobolinux-devel] [gobolinux-commits] tools/ChrootCompile/bin ChrootCompile

Jonas Karlsson jonka750 at student.liu.se
Sat Feb 10 21:59:52 UTC 2007


2007/2/10, Lucas C. Villa Real <lucasvr at gobolinux.org>:
> On 2/10/07, Jonas Karlsson <jonka750 at student.liu.se> 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?
>
Well, I was thinking "setup-environment" > chrootCompileDir > $PWD.

-- 
/Jonas


More information about the gobolinux-devel mailing list