From bbacc4e2c31d4184b6102c6454f200007b85317a Mon Sep 17 00:00:00 2001
From: Don Armstrong <don@donarmstrong.com>
Date: Fri, 19 Sep 2014 13:31:47 -0700
Subject: [PATCH] stop setting HOME to /tmp in debian/rules

---
 debian/changelog | 1 +
 debian/rules     | 4 ----
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 649a4392cf..cea3bea07e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ lilypond (2.18.2-3) unstable; urgency=medium
   * Revert previous patch (no parallel); the issue was actually running
     tests on architecture independent builds which had not built any of
     the documentation. (Closes: #760794)
+  * Stop setting HOME to /tmp in debian/rules. (Closes: #762230)
 
  -- Don Armstrong <don@debian.org>  Tue, 16 Sep 2014 14:50:14 -0700
 
diff --git a/debian/rules b/debian/rules
index 7e59b1e63a..28a6437f9f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,10 +9,6 @@ include VERSION
 
 export MAILADDRESS = lilypond@packages.debian.org
 
-# fontconfig blows chunks if it can't write to $HOME; and some
-# buildds set it to a bogus value.
-export HOME = /tmp
-
 DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
 CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
-- 
2.39.5