diff options
author | zheng <Zheng.chai@citrix.com> | 2015-06-18 08:21:49 +0100 |
---|---|---|
committer | zheng <Zheng.chai@citrix.com> | 2015-06-18 08:21:49 +0100 |
commit | 0b3f7d141f9e28ea8054f782b7b03fa310ef44c3 (patch) | |
tree | c4d8687cb37a2cadee9999439b8937ae44231ffc /mk | |
parent | a3406cd92935c53d638f755fdeaae38e14a16e11 (diff) | |
parent | 0250b30ffe5d33798b79ae75c01905c6cf575f68 (diff) | |
download | vyos-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-x | mk/xe-linux-distribution | 4 |
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 |