Skip to content

Commit

Permalink
Merge pull request #7 from xs-nanjing/CA-173690
Browse files Browse the repository at this point in the history
CA-173690: Guest Agent: /usr/sbin/xe-linux-distribution cannot works …
  • Loading branch information
Zhengchai committed Jun 18, 2015
2 parents a3406cd + 0250b30 commit 4a9417f
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 4a9417f

Please sign in to comment.