summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-09-21 12:18:30 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-09-21 12:18:52 (EDT)
commit5df3204432e585018eeea8c61640747553179114 (patch)
tree018aad17473e0cb9265644c8da744cf0f3c3b496
parentf0951b4dd3f733a13c09e7bcadf22cb67b6bf52f (diff)
opkbuild: Fix case statements
-rw-r--r--src/opkbuild.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index 10ab090..ad22429 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -118,15 +118,15 @@ get_options()
opt_build='binary'
;;
B)
- case "${opt_build}" in ''|'binary');;
- *) ob_error "$(ob_get_msg 'bsf_mutex')"
+ case "${opt_build}" in ''|'binary');; *)
+ ob_error "$(ob_get_msg 'bsf_mutex')";;
esac
opt_build='binary'
opt_arch_dep=true
;;
P)
- case "${opt_build}" in ''|'binary');;
- *) ob_error "$(ob_get_msg 'bsf_mutex')"
+ case "${opt_build}" in ''|'binary');; *)
+ ob_error "$(ob_get_msg 'bsf_mutex')";;
esac
opt_build='binary'
opt_plat_dep=true