For some CHOST ret_want and ret_got may contain a whitespace. Add double quotes around ret_want to avoid messing up the test.
Signed-off-by: Antonio Quartulli <a...@unstable.cc> --- generic/gentoo.config-0.9.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/gentoo.config-0.9.8 b/generic/gentoo.config-0.9.8 index 2361ae6..7051886 100755 --- a/generic/gentoo.config-0.9.8 +++ b/generic/gentoo.config-0.9.8 @@ -45,7 +45,7 @@ if [ "$1" = "test" ] ; then ret_want=${c/*|} ret_got=$(CHOST=${CHOST} "$0") - if [ ${ret_want} = "${ret_got}" ] ; then + if [ "${ret_want}" = "${ret_got}" ] ; then echo "PASS: ${CHOST}" else echo "FAIL: ${CHOST}" -- 2.13.3 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel