summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-04 21:12:14 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-04 21:12:14 (EDT)
commitd771483bd5ca83355ae112ebc9d9b2204802bc05 (patch)
tree76263647e31beff602c7984e43abaaa057325ea1 /src
parent314e8d263e3b44fec27641921d6c4aa7e48a71ec (diff)
Fix message about mutually exclusive options.
Diffstat (limited to 'src')
-rw-r--r--src/opkbuild.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index 4aa133a..d854128 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -133,31 +133,31 @@ get_options()
case "${opt}" in
b)
if [ -n "${opt_build}" ]; then
- oh_error "${oh_str_bbasf_mutex}"
+ ob_error "$(ob_get_msg 'bbasf_mutex')"
fi
opt_build='binary'
;;
B)
if [ -n "${opt_build}" ]; then
- oh_error "${oh_str_bbasf_mutex}"
+ ob_error "$(ob_get_msg 'bbasf_mutex')"
fi
opt_build='binary-arch'
;;
A)
if [ -n "${opt_build}" ]; then
- oh_error "${oh_str_bbasf_mutex}"
+ ob_error "$(ob_get_msg 'bbasf_mutex')"
fi
opt_build='binary-indep'
;;
S)
if [ -n "${opt_build}" ]; then
- oh_error "${oh_str_bbasf_mutex}"
+ ob_error "$(ob_get_msg 'bbasf_mutex')"
fi
opt_build='source'
;;
F)
if [ -n "${opt_build}" ]; then
- oh_error "${oh_str_bbasf_mutex}"
+ ob_error "$(ob_get_msg 'bbasf_mutex')"
fi
opt_build='full'
;;