summaryrefslogtreecommitdiffstats
path: root/src/opkbuild.sh
diff options
context:
space:
mode:
authorPatrick 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)
commitc18112a890bd884424622354677fbfb82bbe8b65 (patch)
tree377096a6558c8f63363b25cd62b873b9e6f3ddf7 /src/opkbuild.sh
parente6b04d9ffd8bef2482ab61957c138ae92527206d (diff)
Eliminate -a and -o options of [ commands
POSIX marks these as obsolescent.
Diffstat (limited to 'src/opkbuild.sh')
-rw-r--r--src/opkbuild.sh3
1 files changed, 2 insertions, 1 deletions
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