SHA256
1
0
forked from pool/mstflint
mstflint/Remove-date-time-info-from-build.patch

25 lines
987 B
Diff
Raw Normal View History

commit 206dbe6dbb96cb8fc1b6ee8c5ffe52496b30762b
Author: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>
Date: Thu May 18 07:48:13 2017 +0200
Remove date/time info from build
Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>
diff --git common/tools_version.h common/tools_version.h
index 4d31d97daf18..0c5da29bf700 100644
--- common/tools_version.h
+++ common/tools_version.h
@@ -71,10 +71,8 @@ int get_version_string(char *buf, int buf_size, const char *exe_name, const char
len = snprintf(buf, buf_size, "%s %s, ", exe_name, tool_version);
}
// cut out first and last "$" from the SVN version string:
- len += snprintf(buf + len, buf_size - len, "%s, built on %s, %s. Git SHA Hash: %s",
+ len += snprintf(buf + len, buf_size - len, "%s. Git SHA Hash: %s",
MFT_VERSION_STR,
- __DATE__,
- __TIME__,
TOOLS_GIT_SHA);
return len;
}