[DRE-commits] [ruby-cheffish] 01/01: set HOME to temp dir during the build

Antonio Terceiro terceiro at moszumanska.debian.org
Tue Apr 5 16:25:54 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository ruby-cheffish.

commit 60aec4b1f4249f669f0f86dbe26e819e5002adb5
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Tue Apr 5 13:03:55 2016 -0300

    set HOME to temp dir during the build
---
 debian/rules | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/debian/rules b/debian/rules
index 3454d59..de5b42a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,15 @@
 #!/usr/bin/make -f
 
 export GEM2DEB_TEST_RUNNER = --check-dependencies
+export HOME = $(CURDIR)/tmp
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_auto_install:
+	mkdir -p $(CURDIR)/tmp
+	dh_auto_install
+
+override_dh_auto_clean:
+	$(RM) -r $(CURDIR)/tmp
+	dh_auto_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-cheffish.git



More information about the Pkg-ruby-extras-commits mailing list