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:
c7422fb
)
fix bug about last build id
author
Huaxu Wan
<huaxu.wan@intel.com>
Thu, 1 Dec 2011 02:32:38 +0000
(10:32 +0800)
committer
Huaxu Wan
<huaxu.wan@intel.com>
Thu, 1 Dec 2011 02:32:38 +0000
(10:32 +0800)
data/packaging.sh
patch
|
blob
|
history
diff --git
a/data/packaging.sh
b/data/packaging.sh
index
dad4766
..
c04951f
100755
(executable)
--- a/
data/packaging.sh
+++ b/
data/packaging.sh
@@
-221,7
+221,7
@@
get_srctar_md5sum()
last_prj=`echo $result_json|python -mjson.tool |grep "project" -A1|tail -1|cut -d'"' -f4`
last_user=`echo $result_json|python -mjson.tool |grep "userName" |cut -d'"' -f4`
if [ "$last_prj" == "$project" -o "$last_user" != "$user" ]; then
-
build
_id=$ret_id
+
last
_id=$ret_id
echo ''
break
fi
@@
-232,6
+232,7
@@
get_srctar_md5sum()
fi
done
fi
+ build_id=$last_id
echo 'Processing your request'
# Waiting until the job finished
while [ true ]