aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-05-11 00:34:20 +0800
committeritetcu <itetcu@FreeBSD.org>2009-05-11 00:34:20 +0800
commit78a12f618af8cb51233a5904a3335422218a37ed (patch)
treed9cb17d1ab6a3c87a98973212e6fd60005537efb /Tools/scripts
parent94310a90f76bf2e1340744490a6e3c7e540396fc (diff)
downloadfreebsd-ports-gnome-78a12f618af8cb51233a5904a3335422218a37ed.tar.gz
freebsd-ports-gnome-78a12f618af8cb51233a5904a3335422218a37ed.tar.zst
freebsd-ports-gnome-78a12f618af8cb51233a5904a3335422218a37ed.zip
Make previous commit work for both context and unified input patches.
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-xTools/scripts/splitpatch.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/splitpatch.pl b/Tools/scripts/splitpatch.pl
index 1570b6f8d197..ddac4b33394c 100755
--- a/Tools/scripts/splitpatch.pl
+++ b/Tools/scripts/splitpatch.pl
@@ -77,7 +77,7 @@ sub ustart
if (/^\+\+\+\s+(\S+)\s+/) {
$state = \&body;
$out = $1;
- $out =~ s|/|_|g;
+ $out =~ s|/|__|g;
$out = "patch-$out";
if (open OUT, "> $out") {
print OUT $fl;