Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

Search for config files in "cfg" #61

Open
gak opened this issue Apr 28, 2012 · 1 comment
Open

Search for config files in "cfg" #61

gak opened this issue Apr 28, 2012 · 1 comment
Assignees
Milestone

Comments

@gak
Copy link
Owner

gak commented Apr 28, 2012

After building with Makefile.linux (might apply to other build methods), the cfg directory is not looked at when the binary is executed from the root of the project. A fix for it is to copy gravit.cfg down a directory into the root.

Gravit itself should search for gravit.cfg in cfg/

@FrMo
Copy link
Collaborator

FrMo commented Apr 29, 2012

works for me on windows, and also when doing

./autogen.sh; ./configure && make install

on linux; so it is probably related to building with Makefile.linux.
I have actually changed the default location to cfg/ to get the windows install working. Maybe we can apply the same to other platforms.

See changes to command.c and gravit.h in commit 6dc9f07

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants