summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorzheng <Zheng.chai@citrix.com>2015-06-18 08:21:49 +0100
committerzheng <Zheng.chai@citrix.com>2015-06-18 08:21:49 +0100
commit0b3f7d141f9e28ea8054f782b7b03fa310ef44c3 (patch)
treec4d8687cb37a2cadee9999439b8937ae44231ffc /mk
parenta3406cd92935c53d638f755fdeaae38e14a16e11 (diff)
parent0250b30ffe5d33798b79ae75c01905c6cf575f68 (diff)
downloadvyos-xe-guest-utilities-0b3f7d141f9e28ea8054f782b7b03fa310ef44c3.tar.gz
vyos-xe-guest-utilities-0b3f7d141f9e28ea8054f782b7b03fa310ef44c3.zip
Merge pull request #8 from xs-nanjing/CA-173690
CA-173690: Guest Agent: /usr/sbin/xe-linux-distribution cannot works in latest boot2docker.
Diffstat (limited to 'mk')
-rwxr-xr-xmk/xe-linux-distribution4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/xe-linux-distribution b/mk/xe-linux-distribution
index 5013e4f..2d06c39 100755
--- a/mk/xe-linux-distribution
+++ b/mk/xe-linux-distribution
@@ -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