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:
69559e6
)
not keep *.origin copy in local
v0.1
author
Hasan Wan
<hasan.wan@intel.com>
Wed, 18 Jan 2012 03:39:22 +0000
(11:39 +0800)
committer
Hasan Wan
<hasan.wan@intel.com>
Wed, 18 Jan 2012 03:39:22 +0000
(11:39 +0800)
data/packaging.sh
patch
|
blob
|
history
diff --git
a/data/packaging.sh
b/data/packaging.sh
index 5fc431ccae31bd71fe3d73d0312f6692b4e81bf7..46e98911bebd513fea3dbc7742bf50062d1f33bc 100644
(file)
--- a/
data/packaging.sh
+++ b/
data/packaging.sh
@@
-43,8
+43,6
@@
update_version()
# Validation check
grep "^Version:" $spec > /dev/null ||die 'Invalid spec file: no "Version" directive defined'
- cp $spec $spec.origin
-
sed -i "s/\(^Version:[\t ]*\).*/\1$version/g" $spec
}
@@
-271,7
+269,6
@@
get_srctar_md5sum()
update_sources()
{
srctar_md5sum=$@
- cp sources sources.origin
sed -i "/[0-9a-f]*\ *$project-.*/d" sources
echo "$1" >> sources
}