[lxc-devel] [lxc/lxc] 17abf2: handle simple bashisms:
GitHub
noreply at github.com
Tue Jan 14 21:16:06 UTC 2014
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 17abf2784de1047fb2904ff130ee5efe4ea7b598
https://github.com/lxc/lxc/commit/17abf2784de1047fb2904ff130ee5efe4ea7b598
Author: Elan Ruusamäe <glen at delfi.ee>
Date: 2014-01-14 (Tue, 14 Jan 2014)
Changed paths:
M templates/lxc-alpine.in
M templates/lxc-altlinux.in
M templates/lxc-archlinux.in
M templates/lxc-busybox.in
M templates/lxc-centos.in
M templates/lxc-debian.in
M templates/lxc-openmandriva.in
M templates/lxc-opensuse.in
M templates/lxc-oracle.in
M templates/lxc-sshd.in
M templates/lxc-ubuntu-cloud.in
M templates/lxc-ubuntu.in
Log Message:
-----------
handle simple bashisms:
- [[ ]] -> [ ]
- == -> =
- source -> .
- redirect of fd 200 is error in mksh, use fd 9
- &> /dev/null -> > /dev/null 2>&1
- useless function keyword
- echo -e -> printf
still left bash shebang which did not validate with checkbashism, mostly
due 'type' being reported as bashism
Signed-Off-By: Elan Ruusamäe <glen at delfi.ee>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>
More information about the lxc-devel
mailing list