diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2002-05-08 13:33:41 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2002-05-08 13:33:41 +0000 |
commit | 38dcbcb14692b63ada408034166cbddc5f2e25ad (patch) | |
tree | 755108035175f390e3d4833b3ad0a57b958acbc2 /Porting/p4genpatch | |
parent | ffcf5686b3dfa042fb137e05b308b43df673017c (diff) | |
download | perl-38dcbcb14692b63ada408034166cbddc5f2e25ad.tar.gz |
fix p4genpatch breakage (missing slash in patch headers)
p4raw-id: //depot/perl@16489
Diffstat (limited to 'Porting/p4genpatch')
-rw-r--r-- | Porting/p4genpatch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Porting/p4genpatch b/Porting/p4genpatch index 5c55d3814b..e2350b07ca 100644 --- a/Porting/p4genpatch +++ b/Porting/p4genpatch @@ -95,7 +95,7 @@ for my $a (@action) { } else { die "Unknown action[$action]"; } - $d2 = "$path$basename"; + $d2 = File::Spec->catfile($path, $basename); $t2 = File::Spec->catfile($tempdir, $d2); warn "==> $d2#$number <==\n" if $OPT{v}; my $system = qq[p4 @P4opt print -o "$t2" "$file"]; @@ -113,7 +113,7 @@ for my $a (@action) { unless ($type =~ /text/) { next; } - print "Index: $path$basename\n"; + print "Index: $d2\n"; correctmtime($prevfile,$prev,$t1) unless $doadd; correctmtime($file,$number,$t2); chdir $tempdir or warn "Could not chdir '$tempdir': $!"; |