From 6c796faa1c65d40456d1137ea84fe92dbf258fc7 Mon Sep 17 00:00:00 2001 From: joey Date: Mon, 11 Jun 2001 22:27:35 +0000 Subject: r478: * dh_gencontrol: Work around very strange hurd semantics which allow "" to be an empty file. Closes: #100542 --- dh_gencontrol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dh_gencontrol') diff --git a/dh_gencontrol b/dh_gencontrol index d305b961..99923cf4 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"); } -- cgit v1.2.3