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