Skip to content

Commit

Permalink
CA-173690: Guest Agent: /usr/sbin/xe-linux-distribution cannot works …
Browse files Browse the repository at this point in the history
…in latest boot2docker.

latest Boot2Docker lsb_relase output
```
	Boot2Docker 1.6.2 (TCL 6.3); master : 68777f2
```
/usr/sbin/xe-linux-distribution cannot handle "(TCL 6.3)" string

This commit is to fix this issue.
  • Loading branch information
Phus Lu committed Jun 18, 2015
1 parent a3406cd commit 0250b30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mk/xe-linux-distribution
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ identify_lsb()
fi

eval $(echo $release | awk -F. -- '{ subindex = index($0,"."); \
print "major=" $1 ; \
print "minor=" substr($0,subindex+1) }')
print "major=\"" $1 "\""; \
print "minor=\"" substr($0,subindex+1) "\"" }')

if [ -z "${major}" -o -z "${distro}" ] ; then
return 1
Expand Down

0 comments on commit 0250b30

Please sign in to comment.