Set correct path for /.version if TARGET_PREFIX is in use.

Origin commit data
------------------
Commit: 312a80bee9
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-25 (Sun, 25 Sep 2016)
This commit is contained in:
Michael Liebmann
2016-09-25 16:42:33 +02:00
parent 48ad5196e7
commit 65c4cfec97
5 changed files with 7 additions and 7 deletions

View File

@@ -145,7 +145,7 @@ bool CBuildInfo::HasData()
#if 0
CConfigFile data ('\t');
data.loadConfig("/.version");
data.loadConfig(TARGET_PREFIX "/.version");
build_info_t creator = {BI_TYPE_ID_CREATOR, LOCALE_BUILDINFO_CREATOR, data.getString("creator", "n/a")};
v_info.push_back(creator);
#endif