summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2004-04-21 18:52:53 +0000
committerAndreas Gruenbacher <agruen@suse.de>2004-04-21 18:52:53 +0000
commit15a8af0c8ed6a2a5a16cc81e9164e970ecef82d3 (patch)
treeff2ae8a8e9a5b6626fff5a5374818ffcdc12a257 /scripts
parent3f590f388c4cdb16c12770be7b0358128b614a36 (diff)
downloadquilt-15a8af0c8ed6a2a5a16cc81e9164e970ecef82d3.tar.gz
- Replace two occurrences of \t in sed regular expressions
with bash $'\t': Some older versions of sed don't understand \t. Thanks to Randy Dunlap <rddunlap@osdl.org> for reporting this.
Diffstat (limited to 'scripts')
-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