summaryrefslogtreecommitdiffstats
path: root/src/opkbuild.sh
diff options
context:
space:
mode:
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