[M3devel] upgrade.sh CFGD code seems wrong/dead?

Olaf Wagner wagner at elegosoft.com
Fri Jun 26 10:01:44 CEST 2009


Quoting Jay <jay.krell at cornell.edu>:

>
> This block in upgrade.sh seems dead, given that nothing sets CFGD.
>
> Searching for 'CFGD'...
> C:\dev2\cm3.2\scripts\upgrade.sh(95):      cp -v ${f} ${CFGD}/${b}
>
>
> if [ "${UPGRADE_CM3_CFG}" = "yes" -o "${ret}" != 0 ]; then (
> ....
>
>
> I'd like to move the config files to root/bin/config instead of   
> littering bin. Ok?

No. This would just be another directory which does not conform to
FSH standards. I already extended cm3 to search for config files
in various /etc directories, though that's still untested.

I'd prefer that we don't move config files _now_ before the release,
but if you want to do it, test it:

  o move them to cm3/etc
  o test cm3 with that setup on at least one platform
  o adapt scripts for regression etc. as you deem necessary
  o watch tinderbox results and fix again ;-)

>
> This is one of the few places that is related to that.

As for your question above, I cannot say without browsing and grepping
the code which I cannot do from here (isolated network); perhaps tonight...

Olaf
-- 
Olaf Wagner -- elego Software Solutions GmbH
                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
    http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194




More information about the M3devel mailing list