summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2004-07-13 00:10:54 +0000
committerAndreas Gruenbacher <agruen@suse.de>2004-07-13 00:10:54 +0000
commit218baa80189af453c37b91cca2c32534bad54e05 (patch)
tree2baa415657057d0a39e6ea59b70a4dc8b9141917 /scripts
parent302d03dcc6f05f5915b21eab2a028ed321866095 (diff)
downloadquilt-218baa80189af453c37b91cca2c32534bad54e05.tar.gz
- Fix stripping of the path to $QUILT_PATCHES when working in
sub-dirextories. (This could be fixed more flexibly later...)
Diffstat (limited to 'scripts')
-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)