[rtems commit] shell: Avoid __DATE__ and adjust welcome message
Sebastian Huber
sebh at rtems.org
Fri Dec 5 12:10:35 UTC 2014
Module: rtems
Branch: master
Commit: a2097c56ad29c182f97fa9d4d5268b8e6086ab7a
Changeset: http://git.rtems.org/rtems/commit/?id=a2097c56ad29c182f97fa9d4d5268b8e6086ab7a
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Dec 5 13:09:11 2014 +0100
shell: Avoid __DATE__ and adjust welcome message
The use of __DATE__ prevents reproducible builds.
---
cpukit/libmisc/shell/shell.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/cpukit/libmisc/shell/shell.c b/cpukit/libmisc/shell/shell.c
index 14d4b5f..e7e5793 100644
--- a/cpukit/libmisc/shell/shell.c
+++ b/cpukit/libmisc/shell/shell.c
@@ -854,8 +854,7 @@ bool rtems_shell_main_loop(
if (!input_file) {
rtems_shell_cat_file(stdout,"/etc/motd");
fprintf(stdout, "\n"
- "RTEMS SHELL (Ver.1.0-FRC):%s. " \
- __DATE__". 'help' to list commands.\n",
+ "RTEMS Shell on %s. Use 'help' to list commands.\n",
shell_env->devname);
}
More information about the vc
mailing list