projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71c3e52
)
BUILD_ID is now the output of "git describe" , falling back to the two digit year...
author
Art Cancro
<ajc@citadel.org>
Wed, 20 Jul 2022 21:01:06 +0000
(17:01 -0400)
committer
Art Cancro
<ajc@citadel.org>
Wed, 20 Jul 2022 21:01:06 +0000
(17:01 -0400)
citadel/configure
patch
|
blob
|
history
diff --git
a/citadel/configure
b/citadel/configure
index 2bb14259df1fe640da7c69aa7612934c7dd39161..c7b6e94eea4c61f61c03c2e6ec47e500670856f7 100755
(executable)
--- a/
citadel/configure
+++ b/
citadel/configure
@@
-112,7
+112,7
@@
cc $tempcc -o $tempfile && {
########################################################################
# FIXME do a real build id here
########################################################################
-CFLAGS=${CFLAGS}' -DBUILD_ID=\"'$( date +%y%03j)'\"'
+CFLAGS=${CFLAGS}' -DBUILD_ID=\"'$(
git describe 2>/dev/null ||
date +%y%03j)'\"'
CFLAGS=${CFLAGS}' -DCTDLDIR=\"'${CTDLDIR}'\"'