forked from pool/quilt
3a7d64b475
* Fix bash completion of patch names * Fix refresh error message * Fix quilt diff -z on file names including spaces * Fix quilt files output when there are no files * Fix patches heuristic for unapplied patches with timestamps * Re-enable testing of patch-wrapper * Fix performance regression in quilt patches * Performance boost for series, applies and unapplied commands OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/quilt?expand=0&rev=78
27 lines
940 B
Diff
27 lines
940 B
Diff
From: Jean Delvare <jdelvare@suse.de>
|
|
Date: Mon, 10 Feb 2014 13:11:34 +0100
|
|
Subject: patchfns: Fix "quilt diff -z" on files with spaces in their names
|
|
Patch-mainline: yes
|
|
Git-commit: 6051b9347f59f761ef744cb7cc813d5eadd86b55
|
|
References: bnc#872719
|
|
|
|
Before this fix, "quilt diff -z" would fail on files with spaces in
|
|
their names, with the following error message:
|
|
Failed to copy files to temporary directory
|
|
|
|
---
|
|
quilt/scripts/patchfns.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/quilt/scripts/patchfns.in
|
|
+++ b/quilt/scripts/patchfns.in
|
|
@@ -887,7 +887,7 @@ apply_patch_temporarily()
|
|
local prefix=$QUILT_PC/$patch/
|
|
[ ${prefix:0:1} == / ] || prefix=$PWD/$prefix
|
|
if ! ( cd $workdir && \
|
|
- $QUILT_DIR/scripts/backup-files -B $prefix -r -k -s ${@:--} )
|
|
+ $QUILT_DIR/scripts/backup-files -B $prefix -r -k -s "${@:--}" )
|
|
then
|
|
printf $"Failed to copy files to temporary directory\n" >&2
|
|
return 1
|