Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix expansion of the $hosts variable #4

Merged
merged 1 commit into from Jan 2, 2013

Commits on Aug 17, 2012

  1. fix expansion of the $hosts variable

    if value of $hosts contains spaces, which can be defined by
    br -m "host1 host2", bash will expand it as is. So
    "if [ -z $hosts ]" is expanded to "if [ -z host1 host2 ]", this is
    wrong. This commit add quotes to the $hosts variable, so it is expanded
    correctly.
    
    Signed-off-by: Zhou Zheng Sheng <zhshzhou@linux.vnet.ibm.com>
    edwardbadboy committed Aug 17, 2012
    Copy the full SHA
    7a9ff00 View commit details
    Browse the repository at this point in the history