summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-09-21 12:13:30 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-09-21 12:17:39 (EDT)
commitf0951b4dd3f733a13c09e7bcadf22cb67b6bf52f (patch)
treee79258f3b6d3bbba1eced8edb7cc9df037e43c19
parent9985fa748af5e496a9a974099b3dfedf487f739d (diff)
Rename mutex options message ID
-rw-r--r--locale/en_US/opkbuild.sh2
-rw-r--r--src/opkbuild.sh10
2 files changed, 6 insertions, 6 deletions
diff --git a/locale/en_US/opkbuild.sh b/locale/en_US/opkbuild.sh
index 62e4466..f1ac05f 100644
--- a/locale/en_US/opkbuild.sh
+++ b/locale/en_US/opkbuild.sh
@@ -49,7 +49,7 @@ This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by P. J. McDermott.'
-msg_opkbuild_bbasf_mutex='Options -b, -S, and -F are mutually exclusive'
+msg_opkbuild_bsf_mutex='Options -b, -S, and -F are mutually exclusive'
msg_opkbuild_bad_opt='Invalid option "%s"'
msg_opkbuild_uid0_cmd_not_found='UID 0 command "%s" not found'
msg_opkbuild_uid0_cmd_bad_uid='UID 0 command "%s" doesn'\''t give UID 0'
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index 842acfb..10ab090 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -113,33 +113,33 @@ get_options()
case "${opt}" in
b)
if [ -n "${opt_build}" ]; then
- ob_error "$(ob_get_msg 'bbasf_mutex')"
+ ob_error "$(ob_get_msg 'bsf_mutex')"
fi
opt_build='binary'
;;
B)
case "${opt_build}" in ''|'binary');;
- *) ob_error "$(ob_get_msg 'bbasf_mutex')"
+ *) 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 'bbasf_mutex')"
+ *) ob_error "$(ob_get_msg 'bsf_mutex')"
esac
opt_build='binary'
opt_plat_dep=true
;;
S)
if [ -n "${opt_build}" ]; then
- ob_error "$(ob_get_msg 'bbasf_mutex')"
+ ob_error "$(ob_get_msg 'bsf_mutex')"
fi
opt_build='source'
;;
F)
if [ -n "${opt_build}" ]; then
- ob_error "$(ob_get_msg 'bbasf_mutex')"
+ ob_error "$(ob_get_msg 'bsf_mutex')"
fi
opt_build='full'
;;