FreeCalypso > hg > fc-selenite
comparison helpers/build-date.c @ 12:e825175be40d
helpers: s/Magnetite/Selenite/
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 15 Jul 2018 21:29:27 +0000 |
parents | b493d3857f4e |
children | f8fb2995eb3f |
comparison
equal
deleted
inserted
replaced
11:b493d3857f4e | 12:e825175be40d |
---|---|
18 exit(1); | 18 exit(1); |
19 } | 19 } |
20 time(&now); | 20 time(&now); |
21 tm = gmtime(&now); | 21 tm = gmtime(&now); |
22 printf("const char firmware_version_str[] =\n"); | 22 printf("const char firmware_version_str[] =\n"); |
23 printf("\"FreeCalypso Magnetite %s, ", argv[1]); | 23 printf("\"FreeCalypso Selenite %s, ", argv[1]); |
24 printf("build date %d-%02d-%02dT%02d:%02d:%02dZ\";\n", | 24 printf("build date %d-%02d-%02dT%02d:%02d:%02dZ\";\n", |
25 tm->tm_year+1900, tm->tm_mon+1, tm->tm_mday, | 25 tm->tm_year+1900, tm->tm_mon+1, tm->tm_mday, |
26 tm->tm_hour, tm->tm_min, tm->tm_sec); | 26 tm->tm_hour, tm->tm_min, tm->tm_sec); |
27 exit(0); | 27 exit(0); |
28 } | 28 } |