[Python-modules-commits] [python-peak.rules] 02/04: Create GOS_TMP_DIR only inside get-orig-source target

Daniele Tricoli eriol-guest at moszumanska.debian.org
Sun Feb 7 20:04:34 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.rules.

commit 58e2e1e37208e36eaa54939c868925003851e152
Author: Daniele Tricoli <eriol at mornie.org>
Date:   Sun Feb 7 19:19:07 2016 +0100

    Create GOS_TMP_DIR only inside get-orig-source target
---
 debian/rules | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 5d2207b..75dbd00 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,6 @@
 #!/usr/bin/make -f
 PKG = python-peak.rules
 VERSION = $(shell dpkg-parsechangelog -S Version | sed 's,-.*,,')
-GOS_TMP_DIR := $(shell mktemp -d $(PKG)-XXXXXXXXX)
 
 TAR_EXTRA_ARGS = --owner root --group root --mode a+rX
 
@@ -30,7 +29,7 @@ override_dh_installdocs:
 	dh_installdocs
 
 get-orig-source:
-	mkdir -p $(GOS_TMP_DIR)
+	$(eval GOS_TMP_DIR := $(shell mktemp -d $(PKG)-XXXXXXXXX))
 	uscan --no-conf --force-download --destdir $(GOS_TMP_DIR) --no-symlink
 	uscan --no-conf \
 		--watchfile debian/`echo $(PRIORITIZED_METHODS) | cut -d- -f1`.watch \

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



More information about the Python-modules-commits mailing list