return $r;
}
-sub quiltify ($$) {
- my ($clogp,$target) = @_;
+sub quiltify ($$$) {
+ my ($clogp,$target,$origtree) = @_;
# Quilt patchification algorithm
#
changedir '..';
+ my $origtree='';
+
quilt_fixup_mkwork($headref);
my $mustdeletepc=0;
rename '../fake/.pc','.pc' or die $!;
}
- quiltify($clogp,$headref);
+ quiltify($clogp,$headref,$origtree);
if (!open P, '>>', ".pc/applied-patches") {
$!==&ENOENT or die $!;