[Devel] [PATCH] fix bin/vznetaddbr to work with bash >= 3.2

Anton Protopopov aspsk at altlinux.org
Thu Oct 16 08:12:28 PDT 2008


Hi.

Script vznetaddbr would not work properly with bash >= 3.2 because of

"Bash-3.2 changed the behavior of the [[ command's `=~' operator when the
right-hand side was quoted: it matched the quoted portions as strings."
(see
http://git.altlinux.org/people/ldv/packages/?p=bash.git;a=commit;h=upstream
for more datailes)

So, with bash >= 3.2 no bridges will be added.

Patch, that fixed that can be found in ``upstream-commits'' branch
http://git.altlinux.org/people/aspsk/packages/?p=vzctl.git;a=shortlog;h=refs/heads/upstream-commits
of my vzctl git:
git://git.altlinux.org/people/aspsk/packages/vzctl.git

Anton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/devel/attachments/20081016/bca27eb2/attachment-0001.html>


More information about the Devel mailing list