Skip to content

Commit

Permalink
Merge pull request #285 from kamailio/vseva/kamcmd_version_nodate
Browse files Browse the repository at this point in the history
kamcmd: support VERSION_NODATE and VERSION_DATE for reproducible builds
  • Loading branch information
linuxmaniac committed Aug 12, 2015
2 parents 36a2b6d + 1935977 commit 559b848
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions utils/kamcmd/kamcmd.c
Expand Up @@ -87,7 +87,15 @@

static char id[]="$Id$";
static char version[]= NAME " " VERSION;
#ifdef VERSION_NODATE
static char compiled[] = "";
#else
#ifdef VERSION_DATE
static char compiled[]= VERSION_DATE;
#else
static char compiled[]= __TIME__ " " __DATE__;
#endif
#endif
static char help_msg[]="\
Usage: " NAME " [options][-s address] [ cmd ]\n\
Options:\n\
Expand Down

0 comments on commit 559b848

Please sign in to comment.