summaryrefslogtreecommitdiffstats
path: root/utils/common
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2013-03-05 22:37:27 +0100
committerFrank Gevaerts <frank@gevaerts.be>2013-03-05 22:37:27 +0100
commit3e4be68f8b596cf3467f993dc9a210a3d901ca1c (patch)
tree96864cc212fe9755e606e836dc12961351624ebb /utils/common
parent1b906450031a8cf7218c20ad600c2cc939bb8a0a (diff)
downloadrockbox-3e4be68f8b596cf3467f993dc9a210a3d901ca1c.tar.gz
rockbox-3e4be68f8b596cf3467f993dc9a210a3d901ca1c.tar.bz2
rockbox-3e4be68f8b596cf3467f993dc9a210a3d901ca1c.zip
Make the tarball generation tool handle spaces in filenames
<insert opinion on such filenames here> Change-Id: Ie1b5fac97eea93c9ac934ffb8bf6c0d9a0559339
Diffstat (limited to 'utils/common')
-rwxr-xr-xutils/common/gitscraper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/common/gitscraper.py b/utils/common/gitscraper.py
index 774867f7ba..9660acb83a 100755
--- a/utils/common/gitscraper.py
+++ b/utils/common/gitscraper.py
@@ -80,7 +80,7 @@ def get_lstree(repo, start, filterlist=[]):
return objects
for line in cmdout[0].decode().split('\n'):
- regex = re.findall(b'([0-9]+)\s+([a-z]+)\s+([0-9a-f]+)\s+(\S+)',
+ regex = re.findall(b'([0-9]+)\s+([a-z]+)\s+([0-9a-f]+)\s+(.*)',
line.encode())
for rf in regex:
# filter