From ca18128bef61bf4fcdc442a5e4d55d66999a3e66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikael=20G=C3=B6ransson?= Date: Tue, 13 Dec 2016 20:28:13 +0100 Subject: [PATCH] fixing workaround for debmake debmake has a problem with os.getlogin(), (in docker). set and export DEBEMAIL and DEBFULLNAME. also added asciidoc to the list of dependencies (which is huge). --- contrib/make_deb.bash | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/contrib/make_deb.bash b/contrib/make_deb.bash index 9d880afd..02199b48 100755 --- a/contrib/make_deb.bash +++ b/contrib/make_deb.bash @@ -3,7 +3,7 @@ ## make_deb.bash for kakoune ## by lenormf ## -## Dependencies: build-essential, devscripts, debmake +## Dependencies: build-essential, devscripts, debmake, asciidoc ## Guidelines for making binary packages: https://www.debian.org/doc/debian-policy/ch-binary.html set -e @@ -73,6 +73,10 @@ function main { exit fi +## os.getlogin() does not always work, e.g. in docker + export DEBEMAIL="${maintainer_email}" + export DEBFULLNAME="${maintainer_fullname}" + readonly PATH_KAKOUNE=$(readlink -e $(dirname $(readlink -f "$0"))/..) readonly PATH_DIR_TMP=$(mktemp -d) ## TODO: assign the proper kakoune version whenever possible