Follow up on this:

The problem is in the function output_source_format()

When this function is called the current directory IS already debian.


--- /tmp/dh-make-0.53/dh_make 2010-04-04 19:20:25.000000000 +0000 +++ /usr/bin/dh_make 2010-04-04 19:52:02.000000000 +0000
@@ -108,16 +108,11 @@
                        print "File $outfile exists, skipping.\n";
                        return;
                }
-       if ( ! -d 'debian/source' )
-       {
-               chdir 'debian' ;mkdir 'source', 0755 or die "error!: $! \n";
-       }
-
        }

-       if ( ! -d 'debian/source' )
+       if ( ! -d 'source' )
        {
- mkdir 'debian/source', 0755 or die "Unable to make debian/source subdirectory: $! \n"; + mkdir 'source', 0755 or die "Unable to make debian/source subdirectory: $! \n";
        }

open OUT, ">$outfile" or die "Unable to open file $outfile for writing: $! \n";




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to