installing FEniCS in the 'wrong' directory

Asked by Aron Wahlberg

Hi,

I was doing a bzr pull for dorsal and then updating my packages (./dorsal). However, now my install and downloading paths in dorsal.cfg are overridden somehow. Why doesn't things get installed according to dorsal.cfg?

There have also been created a few new files, dorsal.cfg.BASE, dorsal.cfg.THIS and dorsal.cfg.OTHER, where the actual path is stated in some of them. However, I modified the names of those files to force the use of dorsal.cfg but I still get the wrong path when I run the install (not the one in dorsal.cfg that I want).

Regards,

Aron

Question information

Language:
English Edit question
Status:
Solved
For:
Dorsal Edit question
Assignee:
No assignee Edit question
Solved by:
Anders Logg
Solved:
Last query:
Last reply:
Revision history for this message
Best Anders Logg (logg) said :
#1

On Thu, May 27, 2010 at 06:54:58PM -0000, Aron Wahlberg wrote:
> New question #112510 on Dorsal:
> https://answers.launchpad.net/dorsal/+question/112510
>
> Hi,
>
> I was doing a bzr pull for dorsal and then updating my packages (./dorsal). However, now my install and downloading paths in dorsal.cfg are overridden somehow. Why doesn't things get installed according to dorsal.cfg?
>
> There have also been created a few new files, dorsal.cfg.BASE, dorsal.cfg.THIS and dorsal.cfg.OTHER, where the actual path is stated in some of them. However, I modified the names of those files to force the use of dorsal.cfg but I still get the wrong path when I run the install (not the one in dorsal.cfg that I want).
>
> Regards,
>
> Aron

The file dorsal.cfg is part of Dorsal and will be overwritten when you
pull, or rather bzr will note that you have changed it and rename your
version to dorsal.cfg.THIS and the incoming version to dorsal.cfg.other.

A better way to specify your own path is to put it in a file called
local.cfg. Dorsal will read that file and override the values in
dorsal.cfg.

--
Anders

Revision history for this message
Aron Wahlberg (aron-simula) said :
#2

Thanks Anders Logg, that solved my question.