Skip to content

Commit 372898a

Browse files
committed
Fake HOME with git config
1 parent 9314d01 commit 372898a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

debian/rules

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

19+
export HOME=$(CURDIR)/build
1920

2021
# one ring to rule them all ...
2122
%:
2223
dh $@ --buildsystem=pybuild
2324

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+
2432
override_dh_auto_install:
2533
dh_auto_install
2634
mkdir -p build

0 commit comments

Comments
 (0)