Mercurial > hg
changeset 38779:824636b08400 stable
packaging: always execute builddeb from source root
Without this, dockerdeb and the make targets that invoke it may
fail depending on the pwd at the time of invocation.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 01 Aug 2018 12:24:52 -0700 |
parents | cc8657f6fd3e |
children | c9e6ca31cfe7 |
files | contrib/packaging/dockerdeb |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/packaging/dockerdeb Wed Aug 01 10:20:19 2018 -0400 +++ b/contrib/packaging/dockerdeb Wed Aug 01 12:24:52 2018 -0700 @@ -33,7 +33,7 @@ fi $DOCKER run -u $DBUILDUSER --rm -v $ROOTDIR/..:/mnt $CONTAINER \ sh -c "cd /mnt/$dn && DEB_BUILD_OPTIONS='${DEB_BUILD_OPTIONS:=}' contrib/packaging/builddeb --build --distid $DISTID --codename $CODENAME $@" -contrib/packaging/builddeb --cleanup --distid $DISTID --codename $CODENAME +(cd $ROOTDIR && contrib/packaging/builddeb --cleanup --distid $DISTID --codename $CODENAME) if [ $(uname) = "Darwin" ] ; then $DOCKER run -u $DBUILDUSER --rm -v $PWD/..:/mnt $CONTAINER \ sh -c "cd /mnt/$dn && make clean"