relocated version.txt
This commit is contained in:
parent
467a66438b
commit
bf431be48f
4 changed files with 5 additions and 8 deletions
|
|
@ -1335,7 +1335,7 @@ int main (int argc, char *argv[]) {
|
|||
if (!version) {
|
||||
// TODO: load from a file
|
||||
char release[256];
|
||||
getFile("./version.txt", release, 256);
|
||||
getFile(ROOT_SYSTEM_PATH "/version.txt", release, 256);
|
||||
|
||||
char *tmp,*commit;
|
||||
commit = strrchr(release, '\n');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue