summaryrefslogtreecommitdiffstats
path: root/scripts/patchfns.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/patchfns.in')
-rw-r--r--scripts/patchfns.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/patchfns.in b/scripts/patchfns.in
index afca43c..5d909a3 100644
--- a/scripts/patchfns.in
+++ b/scripts/patchfns.in
@@ -436,8 +436,8 @@ find_patch()
then
local patch="${1#$QUILT_PATCHES/}"
local bre=$(quote_bre "$patch")
- set -- $(@SED@ -e "/^$bre\(\|\.patch\|\.diff\?\)\(\|\.gz\|\.bz2\)\([ \t]\|$\)/!d" \
- -e 's/[ \t].*//' $SERIES)
+ set -- $(@SED@ -e "/^$bre\(\|\.patch\|\.diff\?\)\(\|\.gz\|\.bz2\)\([ '$'\t'']\|$\)/!d" \
+ -e 's/[ '$'\t''].*//' $SERIES)
if [ $# -eq 1 ]
then
echo $1