From 6c796faa1c65d40456d1137ea84fe92dbf258fc7 Mon Sep 17 00:00:00 2001 From: joey Date: Mon, 11 Jun 2001 22:27:35 +0000 Subject: [PATCH] r478: * dh_gencontrol: Work around very strange hurd semantics which allow "" to be an empty file. Closes: #100542 --- debian/changelog | 7 +++++++ dh_gencontrol | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 4ca7abe..8382202 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +debhelper (3.0.33) unstable; urgency=low + + * dh_gencontrol: Work around very strange hurd semantics + which allow "" to be an empty file. Closes: #100542 + + -- Joey Hess Mon, 11 Jun 2001 18:15:19 -0400 + debhelper (3.0.32) unstable; urgency=low * Check that update-modules is present before running it, since modutils diff --git a/dh_gencontrol b/dh_gencontrol index d305b96..99923cf 100755 --- a/dh_gencontrol +++ b/dh_gencontrol @@ -63,7 +63,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { # Merge in user-specified substvars file with debhelper generated # one. my $substvars=pkgfile($package,"substvars"); - if (-e $substvars) { + if ($substvars) { complex_doit("cat $substvars >> debian/${ext}substvars.debhelper"); } -- 2.39.2