aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-08-19 15:30:28 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-08-19 15:30:28 +0000
commit90fed0bedc3b2e2030104b637e28c0c157ac0b62 (patch)
treed94ec9fbe5f7bb9a3e5c708e711d73e19dd3e4a4
parent7bf2d2fd55571c6561ca492515cae5481b3ff481 (diff)
downloadrpmtools-90fed0bedc3b2e2030104b637e28c0c157ac0b62.tar
rpmtools-90fed0bedc3b2e2030104b637e28c0c157ac0b62.tar.gz
rpmtools-90fed0bedc3b2e2030104b637e28c0c157ac0b62.tar.bz2
rpmtools-90fed0bedc3b2e2030104b637e28c0c157ac0b62.tar.xz
rpmtools-90fed0bedc3b2e2030104b637e28c0c157ac0b62.zip
(tempfile) display which file we failed to create
-rw-r--r--Packdrakeng.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Packdrakeng.pm b/Packdrakeng.pm
index ecffd8e..bf6f1bf 100644
--- a/Packdrakeng.pm
+++ b/Packdrakeng.pm
@@ -30,7 +30,7 @@ sub tempfile {
my ($count, $fname, $handle) = (0, undef, undef);
do {
++$count > 10 and do {
- warn "Can't create temporary file";
+ warn "Can't create temporary file ($fname)";
return (undef, undef);
};
$fname = sprintf("%s/packdrakeng.%s.%s",