[eso-midas] 01/03: Fix FTBS when $HOME is not available

Ole Streicher olebole-guest at moszumanska.debian.org
Wed May 21 14:14:35 UTC 2014


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

olebole-guest pushed a commit to branch debian
in repository eso-midas.

commit 9653e7de3ab083d772ff724cf336154485928a68
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Wed May 21 15:59:51 2014 +0200

    Fix FTBS when $HOME is not available
---
 debian/changelog | 6 ++++++
 debian/rules     | 7 ++++---
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7f6fded..c11f572 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+eso-midas (13.09pl1.2+dfsg-2) UNRELEASED; urgency=low
+
+  * Fix FTBS when $HOME is missing
+
+ -- Ole Streicher <debian at liska.ath.cx>  Wed, 21 May 2014 15:40:00 +0200
+
 eso-midas (13.09pl1.2+dfsg-1) unstable; urgency=low
 
   * Initial release. (Closes: #740702)
diff --git a/debian/rules b/debian/rules
index 49b25bf..78a1923 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,7 @@ export MID_HOME0
 
 MID_INSTALL=$(MIDASHOME)/$(MIDVERS)/install/unix
 MID_SYS=$(MIDASHOME)/$(MIDVERS)/system/unix/
+MID_WORK=$(MIDASHOME)/midwork
 
 %:
 	dh  $@
@@ -29,8 +30,8 @@ override_dh_auto_configure:
 override_dh_auto_build:
 	(cd $(MID_HOME); $(MID_INSTALL)/install1 -a CFLAGS=\"$(CFLAGS)\" )
 	(cd $(MID_HOME)/monit ; make syskeys.unix )
-	$(MID_SYS)/inmidas -j "@ compile.all"
-	$(MID_SYS)/inmidas -j "@ ascii_bin no ; bye"
+	$(MID_SYS)/inmidas -m $(MID_WORK) -j "@ compile.all"
+	$(MID_SYS)/inmidas -m $(MID_WORK) -j "@ ascii_bin no ; bye"
 	(cd $(MID_HOME) ; yes | $(MID_SYS)/cleanmidas -a)
 	sed -e "s:^MIDVERS0=.*:MIDVERS0=$(MIDVERS):" \
 	    -e "s:^MIDASHOME0=.*:MIDASHOME0=/usr/lib/eso-midas:" \
@@ -57,4 +58,4 @@ override_dh_makeshlibs:
 
 override_dh_clean:
 	dh_clean
-	rm -rf $(MIDVERS)
+	rm -rf $(MIDVERS) $(MID_WORK)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/eso-midas.git



More information about the debian-science-commits mailing list