projects
/
moonshot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid newlines in rpm_packages
[moonshot.git]
/
rpm-builder
diff --git
a/rpm-builder
b/rpm-builder
index
e7a9d91
..
5492784
100755
(executable)
--- a/
rpm-builder
+++ b/
rpm-builder
@@
-64,6
+64,7
@@
def find_type(name):
#
def trim_target(t):
match = re.match('([^/-]*/)?([^-/]+)', t)
+ if match is None: return ""
return match.group(2)