1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-22 11:01:48 +03:00

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).
This commit is contained in:
Mikael Göransson 2016-12-13 20:28:13 +01:00
parent e44129577a
commit ca18128bef

View File

@ -3,7 +3,7 @@
## make_deb.bash for kakoune ## make_deb.bash for kakoune
## by lenormf ## 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 ## Guidelines for making binary packages: https://www.debian.org/doc/debian-policy/ch-binary.html
set -e set -e
@ -73,6 +73,10 @@ function main {
exit exit
fi 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_KAKOUNE=$(readlink -e $(dirname $(readlink -f "$0"))/..)
readonly PATH_DIR_TMP=$(mktemp -d) readonly PATH_DIR_TMP=$(mktemp -d)
## TODO: assign the proper kakoune version whenever possible ## TODO: assign the proper kakoune version whenever possible