[Python-modules-commits] [python-peak.util] 01/01: Create GOS_TMP_DIR only inside get-orig-source target

Daniele Tricoli eriol-guest at moszumanska.debian.org
Sun Feb 7 00:49:12 UTC 2016


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

eriol-guest pushed a commit to branch master
in repository python-peak.util.

commit 2487c3dfb9543fa15d7e3b979e912cd909443e70
Author: Daniele Tricoli <eriol at mornie.org>
Date:   Sun Feb 7 01:47:48 2016 +0100

    Create GOS_TMP_DIR only inside get-orig-source target
    
    Thanks to Mattia Rizzolo for the hint.
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index e5c9197..3a90415 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,6 @@
 
 PKG = python-peak.util
 VERSION = $(shell dpkg-parsechangelog -S Version | sed 's,-.*,,')
-GOS_TMP_DIR := $(shell mktemp -d $(PKG)-XXXXXXXXX)
 
 UPSTREAMS = \
 	addons-0.7 \
@@ -32,6 +31,7 @@ override_dh_auto_install:
 	rm -f debian/$(PKG)/usr/lib/python*/dist-packages/*.pth
 
 get-orig-source:
+	$(eval GOS_TMP_DIR := $(shell mktemp -d $(PKG)-XXXXXXXXX))
 	set -e; \
 	for upstream in $(UPSTREAMS); do \
 		uscan --no-conf \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-peak.util.git



More information about the Python-modules-commits mailing list