Skip to content

Commit 0250b30

Browse files
author
Phus Lu
committed
CA-173690: Guest Agent: /usr/sbin/xe-linux-distribution cannot works 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.
1 parent a3406cd commit 0250b30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mk/xe-linux-distribution

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@ identify_lsb()
266266
fi
267267

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

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

0 commit comments

Comments
 (0)