aboutsummaryrefslogtreecommitdiff
path: root/src/misc/select.patch
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/select.patch')
-rwxr-xr-xsrc/misc/select.patch7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/misc/select.patch b/src/misc/select.patch
index b3457e5..ff09a7b 100755
--- a/src/misc/select.patch
+++ b/src/misc/select.patch
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/local/bin/perl -w
# $Header$
#
@@ -8,8 +8,7 @@
# This filter prints that part of standard input starting with a
# line of the form (eg)
# ## +z patch
-# (with any number >= 1 of # characters allowed) and continuing up to and
-# including two consecutive newlines.
+# and continuing up to and including two consecutive newlines.
#
use strict;
@@ -22,7 +21,7 @@ my $in_selected_patch = 0;
my $newline_count = 0;
while (my $line = <STDIN>)
{
- if ($line =~ /^#+ \Q${patch_name}/o)
+ if ($line =~ /^### \Q${patch_name}/o)
{ $in_selected_patch = 1; }
if ($line =~ /^\n/)
{ ++$newline_count; }