[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Quilt-dev] [PATCH] Fix handling of patch files with ':' in their name.
From: |
Benjamin Poirier |
Subject: |
[Quilt-dev] [PATCH] Fix handling of patch files with ':' in their name. |
Date: |
Fri, 30 Nov 2012 16:44:52 -0500 |
avoids errors like this:
$ quilt refresh
sed: -e expression #1, char 21: unknown option to `s'
Nothing in patch patches/strange:name
---
quilt/scripts/patchfns.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/quilt/scripts/patchfns.in b/quilt/scripts/patchfns.in
index d0c426e..2c884e0 100644
--- a/quilt/scripts/patchfns.in
+++ b/quilt/scripts/patchfns.in
@@ -650,8 +650,8 @@ files_in_patch()
if [ -d "$path" ]
then
find "$path" -type f \
- -a ! -path "$path/.timestamp" |
- sed -e "s:$path/::"
+ -a ! -path "$path/.timestamp" \
+ -printf "%P\n"
fi
}
--
1.7.7
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Quilt-dev] [PATCH] Fix handling of patch files with ':' in their name.,
Benjamin Poirier <=