Code Review
/
joid.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
f817c71
)
Fix clean maas issue
57/33557/1
author
Guo Ruijing
<ruijing.guo@intel.com>
Wed, 19 Apr 2017 16:24:20 +0000
(
00:24
+0800)
committer
Guo Ruijing
<ruijing.guo@intel.com>
Wed, 19 Apr 2017 16:25:06 +0000
(
00:25
+0800)
Change-Id: Iea000e7740185c08c87f2c94853a344d759166c4
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
ci/cleanmaas.sh
patch
|
blob
|
history
diff --git
a/ci/cleanmaas.sh
b/ci/cleanmaas.sh
index
4096135
..
41a7419
100755
(executable)
--- a/
ci/cleanmaas.sh
+++ b/
ci/cleanmaas.sh
@@
-2,7
+2,7
@@
set -ex
-maasver=$(apt-cache policy maas | grep Installed | cut -d ':' -f 2 | sed -e 's/^
.*:
//')
+maasver=$(apt-cache policy maas | grep Installed | cut -d ':' -f 2 | sed -e 's/^
[ ]*
//')
if [[ "$maasver" > "2" ]]; then
echo "removing existing maas ..."