diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ob-installplatconf.sh | 2 | ||||
-rw-r--r-- | src/opkbuild.sh | 3 |
2 files changed, 3 insertions, 2 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 diff --git a/src/opkbuild.sh b/src/opkbuild.sh index affa6e2..7392317 100644 --- a/src/opkbuild.sh +++ b/src/opkbuild.sh @@ -394,7 +394,8 @@ main() setup_package || return 1 - if [ x"${opt_build}" = x'source' -o x"${opt_build}" = x'full' ]; then + if [ x"${opt_build}" = x'source' ] || [ x"${opt_build}" = x'full' ] + then build_source || return 1 fi |