Parcourir la source

dpkg-deb: Do not arch-qualify package name on output

There's no point in arch-qualifying the package name when printing it
on build from dpkg-deb, as it does not need to be distinguished and the
filename is informative and unique enough already.
Guillem Jover il y a 14 ans
Parent
commit
c627c85d54
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      dpkg-deb/build.c

+ 1 - 1
dpkg-deb/build.c

@@ -438,7 +438,7 @@ do_build(const char *const *argv)
     if (subdir)
     if (subdir)
       debar = pkg_get_pathname(debar, pkg);
       debar = pkg_get_pathname(debar, pkg);
     printf(_("dpkg-deb: building package `%s' in `%s'.\n"),
     printf(_("dpkg-deb: building package `%s' in `%s'.\n"),
-           pkgbin_name(pkg, &pkg->available, pnaw_nonambig), debar);
+           pkg->set->name, debar);
   }
   }
   m_output(stdout, _("<standard output>"));
   m_output(stdout, _("<standard output>"));