projects
/
tools
/
gbs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1492ba
)
fix a bug about sources line
author
Huaxu Wan
<huaxu.wan@intel.com>
Mon, 5 Dec 2011 13:25:51 +0000
(21:25 +0800)
committer
Huaxu Wan
<huaxu.wan@intel.com>
Mon, 5 Dec 2011 13:25:51 +0000
(21:25 +0800)
data/packaging.sh
patch
|
blob
|
history
diff --git
a/data/packaging.sh
b/data/packaging.sh
index
68d5b76
..
e89e6fd
100644
(file)
--- a/
data/packaging.sh
+++ b/
data/packaging.sh
@@
-273,8
+273,9
@@
get_srctar_md5sum()
update_sources()
{
srctar_md5sum=$@
- mv sources sources.origin
- echo "$srctar_md5sum" > sources
+ cp sources sources.origin
+ sed -i "/[0-9a-f]*\ *$project-.*/d" sources
+ echo "$srctar_md5sum" >> sources
}
while :