[equivs] 33/36: Use $TMPDIR as directory for package builds if set
Axel Beckert
abe at deuxchevaux.org
Fri Jul 28 23:04:37 UTC 2017
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository equivs.
commit 6d99d5f1f223e8290891846cb495e12cd56a3006
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Tue Jul 18 02:56:54 2017 +0200
Use $TMPDIR as directory for package builds if set
Closes: #660765
---
debian/changelog | 2 ++
usr/bin/equivs-build | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 736b625..5487440 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,8 @@ equivs (2.1.0) UNRELEASED; urgency=medium
* Bump debhelper compatibility to 10.
+ Update versioned debhelper build-dependency accordingly.
* pod2man call: Replace "Debian/GNU" with just "Debian".
+ * Use $TMPDIR as directory for package builds if set in the
+ environment. (Closes: #660765)
[ Wookey ]
* Add Support for links. (Closes: #701626, LP: #1132813)
diff --git a/usr/bin/equivs-build b/usr/bin/equivs-build
index 7c3f2de..a95688a 100755
--- a/usr/bin/equivs-build
+++ b/usr/bin/equivs-build
@@ -16,7 +16,7 @@ use File::Copy;
use File::Basename;
use File::Temp ('tempdir');
-my $builddir = tempdir('equivs.XXXXXX', DIR => cwd, CLEANUP => 1) or
+my $builddir = tempdir('equivs.XXXXXX', DIR => ($ENV{TMPDIR} || cwd), CLEANUP => 1) or
die "Cannot create temporary build dir: $!\n";
my %control;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/equivs.git
More information about the Pkg-perl-cvs-commits
mailing list