diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-13 17:23:56 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-13 17:23:56 (EDT) |
commit | c18112a890bd884424622354677fbfb82bbe8b65 (patch) | |
tree | 377096a6558c8f63363b25cd62b873b9e6f3ddf7 /src/ob-installplatconf.sh | |
parent | e6b04d9ffd8bef2482ab61957c138ae92527206d (diff) |
Eliminate -a and -o options of [ commands
POSIX marks these as obsolescent.
Diffstat (limited to 'src/ob-installplatconf.sh')
-rw-r--r-- | src/ob-installplatconf.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ob-installplatconf.sh b/src/ob-installplatconf.sh index 4eac903..2caa5cf 100644 --- a/src/ob-installplatconf.sh +++ b/src/ob-installplatconf.sh @@ -30,7 +30,7 @@ copy_config() dest_base="${2}" while read -r src dest; do - if [ -z "${src}" -o -z "${dest}" ]; then + if [ -z "${src}" ] || [ -z "${dest}" ]; then ob_error "$(ob_get_msg 'bad_config_syntax')" "${list}" fi |