[dunecontrol] fix #374

Fixes #374

This MR contains a couple of cleanups of the option-file handling when using configure or cmake command.

Merge request reports

Loading