diff options
| author | Mikael Göransson <github@mgor.se> | 2016-12-13 20:28:13 +0100 |
|---|---|---|
| committer | Mikael Göransson <github@mgor.se> | 2016-12-13 20:28:13 +0100 |
| commit | ca18128bef61bf4fcdc442a5e4d55d66999a3e66 (patch) | |
| tree | 672b4a8458bf2d516a0868e94ea9218b45cd8e51 /contrib | |
| parent | e44129577a010ebb4dc609b806104d3175659074 (diff) | |
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).
Diffstat (limited to 'contrib')
| -rwxr-xr-x | contrib/make_deb.bash | 6 |
1 files changed, 5 insertions, 1 deletions
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 |
