[devscripts] 01/01: debrepro: export SOURCE_DATE_EPOCH
Antonio Terceiro
terceiro at moszumanska.debian.org
Fri Sep 9 19:50:18 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository devscripts.
commit ac4e98476f4e1bf00d682e10ea96fe328d0c9589
Author: Antonio Terceiro <terceiro at debian.org>
Date: Fri Sep 9 16:48:50 2016 -0300
debrepro: export SOURCE_DATE_EPOCH
That is usually set by dpkg-buildpackage, but since we don't do a full
build with dpkg-buildpackage, we have to set it explicitly
---
scripts/debrepro.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/debrepro.sh b/scripts/debrepro.sh
index db85a40..e41abfb 100755
--- a/scripts/debrepro.sh
+++ b/scripts/debrepro.sh
@@ -60,6 +60,8 @@ create_build_script() {
echo "# package"
echo
+ echo 'export SOURCE_DATE_EPOCH=$(date -d "$(dpkg-parsechangelog -SDate)" +%s)'
+
variation PATH
vary 'export PATH="$PATH":/i/capture/the/path'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git
More information about the devscripts-devel
mailing list