From c18112a890bd884424622354677fbfb82bbe8b65 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 13 Mar 2019 17:23:56 -0400 Subject: Eliminate -a and -o options of [ commands POSIX marks these as obsolescent. --- (limited to 'src/ob-installplatconf.sh') 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 -- cgit v0.9.1