From: Florian Weimer Date: Thu, 22 May 2008 13:27:52 +0000 (+0200) Subject: Embed commit hash in the compiled Perl script X-Git-Tag: v0.9.4~7 X-Git-Url: https://repo.or.cz/w/dowkd.git/commitdiff_plain/9f925e118d59c0a39f6dc680bf1babe03a0b1768 Embed commit hash in the compiled Perl script --- diff --git a/dowkd.compile b/dowkd.compile index 301b5a8..068b2cd 100644 --- a/dowkd.compile +++ b/dowkd.compile @@ -3,6 +3,7 @@ set -e sed -e s/@PROGRAM_VERSION@/$(git describe)/ \ + -e s/@PROGRAM_SHA1@/$(git rev-parse HEAD)/ \ -e s/@DB_VERSION@/$(cat dowkd.blacklist.md5)/ \ < dowkd.in | \ sed -e '/^@CHANGELOG@$/{ diff --git a/dowkd.in b/dowkd.in index 1739568..c150834 100644 --- a/dowkd.in +++ b/dowkd.in @@ -24,6 +24,9 @@ # # Patches and comments are welcome. Please send them to # , and use "dowkd" in the subject line. +# +# This version is based on commit @PROGRAM_SHA1@ +# in the GIT repository at . use strict; use warnings;