| commit | bbb68633df6d810de7b96ac0c434b23e2802a54f | [log] [download] |
|---|---|---|
| author | Kir Kolyshkin <kir@openvz.org> | Fri Oct 26 13:28:32 2012 +0400 |
| committer | Kir Kolyshkin <kir@openvz.org> | Fri Oct 26 13:36:18 2012 +0400 |
| tree | ae743a35cb2b6a663e26312fae0ceec538643ecf | |
| parent | 845a257aaafe8edf48ba0d023f280e00853c23dd [diff] |
set_userpass.sh: fix bashism
Use sed to split user:passwd string.
Originally reported to Debian:
> possible bashism in ./etc/vz/dists/scripts/set_userpass.sh line 26
> (${parm/?/pat[/str]}):
> local user=${userpw/:*/}
http://bugzilla.openvz.org/2403
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690713
Reported-by: Raphael Geissert <atomo64@gmail.com>
Reported-by: Ola Lundqvist <opal@debian.org>
Signed-off-by: Kir Kolyshkin <kir@openvz.org>