]> git.donarmstrong.com Git - debhelper.git/commitdiff
r478: * dh_gencontrol: Work around very strange hurd semantics
authorjoey <joey>
Mon, 11 Jun 2001 22:27:35 +0000 (22:27 +0000)
committerjoey <joey>
Mon, 11 Jun 2001 22:27:35 +0000 (22:27 +0000)
     which allow "" to be an empty file. Closes: #100542

debian/changelog
dh_gencontrol

index 4ca7abea656ff47c95326da7d94aac252805ec59..83822020e872a49c90797d26f1b97eb683069912 100644 (file)
@@ -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 <joeyh@debian.org>  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
index d305b961c54b7fc0750cc946d4f82c41f109ef07..99923cf4465c48f0341dce26ea2f8cabe923efe3 100755 (executable)
@@ -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");
        }