[Pkg-voip-commits] [janus] 85/163: Wrap build date in quotes, when creating version.c (see #990)
Jonas Smedegaard
dr at jones.dk
Sat Oct 28 01:22:13 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag debian/0.2.5-1
in repository janus.
commit acb70163018af951cc2bc82317828bc472db5871
Author: Lorenzo Miniero <lminiero at gmail.com>
Date: Mon Sep 4 14:29:54 2017 +0200
Wrap build date in quotes, when creating version.c (see #990)
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 345cff3..c8baa3e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -171,7 +171,7 @@ build_date = $(shell date)
endif
version.c: FORCE | $(dir_target)
- echo $(build_date) | awk 'BEGIN {} {print "const char *janus_build_git_time = \""$$0"\";"} END {} ' >> version.c
+ echo "$(build_date)" | awk 'BEGIN {} {print "const char *janus_build_git_time = \""$$0"\";"} END {} ' >> version.c
$(dir_present):
`which git` rev-parse HEAD | awk 'BEGIN {print "#include \"version.h\""} {print "const char *janus_build_git_sha = \"" $$0"\";"} END {}' > version.c
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/janus.git
More information about the Pkg-voip-commits
mailing list