summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorToby Goodwin <toby@paccrat.org>2016-08-27 23:02:32 +0100
committerToby Goodwin <toby@paccrat.org>2016-08-27 23:02:32 +0100
commit89f1e1b445c2c50ffb61fa1327e11c475eb1b57f (patch)
treefd0f294e72da286f2e7253859376859084599c96 /main.c
parent98036baceaea6c37af19b64af547eb98b2ea19ee (diff)
replace problematic reldate with git describe (thanks @RamKromberg)
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.c b/main.c
index 4da3014..9743a2c 100644
--- a/main.c
+++ b/main.c
@@ -84,7 +84,10 @@ quitopts:
#endif
assigndefault("pid", nprint("%d", rc_pid), (void *)0);
assigndefault("prompt", "; ", "", (void *)0);
- assigndefault("version", VERSION, "$Release: @(#)" PACKAGE " " VERSION " " RELDATE " $", (void *)0);
+ assigndefault("version",
+ VERSION,
+ "$Release: @(#)" PACKAGE " " VERSION " " DESCRIPTION " $",
+ (void *)0 );
initenv(envp);
initinput();
null[0] = NULL;