[Python-modules-commits] [python-peak.rules] 02/15: Use mktemp to create GOS_TMP_DIR

Daniele Tricoli eriol-guest at moszumanska.debian.org
Sat Feb 6 21:58:41 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 aa4ae546cf16690332f8c788854f84dbc6db5d9e
Author: Daniele Tricoli <eriol at mornie.org>
Date:   Sat Feb 6 18:54:50 2016 +0100

    Use mktemp to create GOS_TMP_DIR
---
 debian/rules | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 6ef105b..13c6d1f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,7 @@
 #!/usr/bin/make -f
 PKG = python-peak.rules
 VERSION = $(shell dpkg-parsechangelog | grep ^Version | cut -d" " -f2 | sed 's,-.*,,')
-DEB_ROOT = $(abspath $(dir $(lastword $(MAKEFILE_LIST)))../)
-GOS_TMP_DIR = $(DEB_ROOT)/get-orig-source
+GOS_TMP_DIR := $(shell mktemp -d $(PKG)-XXXXXXXXX)
 
 TAR_EXTRA_ARGS = --owner root --group root --mode a+rX
 

-- 
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