From f0951b4dd3f733a13c09e7bcadf22cb67b6bf52f Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 21 Sep 2014 12:13:30 -0400 Subject: Rename mutex options message ID --- 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' ;; -- cgit v0.9.1