Skip to content

Commit 082209b

Browse files
committed
custom HOME did not work for some reason - trying env vars
1 parent 372898a commit 082209b

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

debian/rules

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,15 @@ export PYBUILD_NAME = heudiconv
1616
# for paranoid
1717
export http_proxy=http://127.0.0.1:9/
1818

19-
export HOME=$(CURDIR)/build
19+
# to please datalad and git
20+
export EMAIL[email protected]
21+
export GIT_AUTHOR_NAME="The Name"
22+
export GIT_COMMITTER_NAME=$(GIT_AUTHOR_NAME)
2023

2124
# one ring to rule them all ...
2225
%:
2326
dh $@ --buildsystem=pybuild
2427

25-
override_dh_auto_configure:
26-
dh_auto_configure
27-
# Needed for git/datalad to function correctly
28-
mkdir -p "$(HOME)"
29-
git config --global user.email "[email protected]"
30-
git config --global user.name "His Name"
31-
3228
override_dh_auto_install:
3329
dh_auto_install
3430
mkdir -p build

0 commit comments

Comments
 (0)