create directories when extracting the diff. Closes: #374645
+2007-01-23 Guillem Jover <guillem@debian.org>
+
+ * scripts/dpkg-source.pl: Fix typo in variable name from $dirc to
+ $dircreate, and append a "/" on each loop.
+
2007-01-16 Nicolas François <nicolas.francois@centraliens.net>
* configure.ac: There are no more Makefiles to generate in the
* Make some perl scripts use static and warnings, to ease catching errors.
* Add a missing newline to a warning message in dpkg. Closes: #390914
Thanks to Ian Jackson.
+ * Fix typo in variable name in dpkg-source which was causing it to not
+ create directories when extracting the diff. Closes: #374645
[ Updated dpkg translations ]
* Romanian (Eddy Petrișor).
for $dircreate (keys %dirtocreate) {
$dircreatem= "";
- for $dircreatep (split("/",$dirc)) {
- $dircreatem.= $dircreatep;
+ for $dircreatep (split("/", $dircreate)) {
+ $dircreatem .= $dircreatep . "/";
if (!lstat($dircreatem)) {
$! == ENOENT || &syserr(sprintf(_g("cannot stat %s"), $dircreatem));
mkdir($dircreatem,0777)