My auto-updating seems to be working quite smoothly now, if I add the following to the linuxcnc bash script at line 331
# 2.1.5 check version GetFromIni VERSION EMC if [ "$retval" != "1.0" ]; then update_ini -d $INIFILE ;fi If you choose a config from the picker that is in the old format then a dialog pops up, and if you press OK then the config is converted, and launches with no errors. There are two problems: 1) If you select "No" to conversion then the bash script carries on regardless (though the config will crash) 2) The "linuxcnc" script is generated from linuxcnc.in by something I understand even less well than bash. Amongst the problems are.... The "1.0" version string is hard-coded. ./configure should probably do some magic there. Does anyone with more arcane expertise want to step in? I am really nervous about messing about with the actual command that launches the package... -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
