diff options
Diffstat (limited to 'bin/patch-wrapper.in')
-rwxr-xr-x | bin/patch-wrapper.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/patch-wrapper.in b/bin/patch-wrapper.in index 358856a..6cbdc31 100755 --- a/bin/patch-wrapper.in +++ b/bin/patch-wrapper.in @@ -26,7 +26,8 @@ then set -- --posix "$@" fi -backup_files() { +backup_files() +{ declare dir=${QUILT_PC:-.pc}/$patch if [ "$backup_mode" = --backup-if-mismatch ] @@ -64,7 +65,8 @@ backup_files() { fi } -find_pipe_patch() { +find_pipe_patch() +{ declare patch=$1 patch=${patch//\[/\\[} patch=${patch//\]/\\]} |