Fixed building of Debian-native packages without any 'orig-*' archive. captive-0_9 captive-0_9_1 captive-0_9_2 captive-0_9_3 captive-0_9_4 captive-0_9_5 captive-0_9_6 captive-0_9_7 captive-1_0 captive-1_0_1 captive-1_0_2 captive-1_1 captive-1_1_1 captive-1_1_1_1 captive-1_1_1_2 captive-1_1_2 captive-1_1_3 captive-1_1_3_1 captive-1_1_3_2 captive-1_1_4 captive-1_1_5 gnome_vfs_httpcaptive_2_3_8captive1 gnome_vfs_httpcaptive_2_3_8captive2 lufs_0_9_6_captive2 lufs_0_9_6_captive3 lufs_0_9_6_captive5 lufs_0_9_6_captive6 lufs_0_9_7_captive7 lufs_0_9_7_captive8 mdsms_1_5_3 ntfsprogs_200309071734_captive1 ntfsprogs_gnomevfs_1_0 ntfsprogs_gnomevfs_1_0_1 ntfsprogs_gnomevfs_1_0_2 udpgate-1_0 udpgate-1_0_1
authorshort <>
Sun, 21 Sep 2003 12:50:45 +0000 (12:50 +0000)
committershort <>
Sun, 21 Sep 2003 12:50:45 +0000 (12:50 +0000)
AutoGen.pm

index 652ac7b..09e2744 100644 (file)
@@ -296,6 +296,7 @@ my($class,%args)=@_;
                @subdirs=glob $glob;
                confess "Invalid glob $glob: ".join(",",@subdirs) if 1!=@subdirs;
                }
+       $base||=$subdirs[0];
        rename $subdirs[0],$base or confess "$!";
        _system(join(" ","cd ".$base.";dpkg-buildpackage",
                        "-rfakeroot",