diff options
author | itetcu <itetcu@FreeBSD.org> | 2009-05-11 00:28:52 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2009-05-11 00:28:52 +0800 |
commit | 94310a90f76bf2e1340744490a6e3c7e540396fc (patch) | |
tree | 9921512f96b85eb5c444deeff49c3f49cd3e8163 /Tools/scripts | |
parent | 2fd731c9488c155383fa70a3636054c5a0124cc9 (diff) | |
download | freebsd-ports-gnome-94310a90f76bf2e1340744490a6e3c7e540396fc.tar.gz freebsd-ports-gnome-94310a90f76bf2e1340744490a6e3c7e540396fc.tar.zst freebsd-ports-gnome-94310a90f76bf2e1340744490a6e3c7e540396fc.zip |
When naming the split patch files, replace the original path '/' with '__'
instead of a single '_' to follow the current patch naming guidelines.
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-x | Tools/scripts/splitpatch.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/splitpatch.pl b/Tools/scripts/splitpatch.pl index 9b69c89fb003..1570b6f8d197 100755 --- a/Tools/scripts/splitpatch.pl +++ b/Tools/scripts/splitpatch.pl @@ -57,7 +57,7 @@ sub cstart if (!/^---\s+\d+,\d+\s+/ && /^---\s+(\S+)\s+/) { $state = \&body; $out = $1; - $out =~ s|/|_|g; + $out =~ s|/|__|g; $out = "patch-$out"; if (open OUT, "> $out") { print OUT $fl; |