From 5df3204432e585018eeea8c61640747553179114 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 21 Sep 2014 12:18:30 -0400 Subject: opkbuild: Fix case statements --- (limited to 'src/opkbuild.sh') 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 -- cgit v0.9.1