build: Fix cargo behaviour

Cargo caused .deb builds to crash by storing its data in $HOME.

https://www.debian.org/doc/debian-policy/ch-source.html#main-building-script-debian-rules says TMP_DIR may be used freely, so that's where Cargo will keep its stuff now.
This commit is contained in:
Dorota Czaplejewicz
2019-09-12 11:26:03 +00:00
parent fe8d66a635
commit 6072e5768a

1
debian/rules vendored
View File

@ -1,5 +1,6 @@
#!/usr/bin/make -f
export CARGO_HOME=/tmp/cargo
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%: