From 4c560cf7164f2ed3027ee00a7b00e8f4978ab6eb Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Tue, 12 Oct 2021 22:12:34 +0200 Subject: Use && and || instead of test arguments -a and -o For portability, use && and || instead of the test arguments -a and -o. --- gphoto-m4/gp-byteorder.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gphoto-m4') diff --git a/gphoto-m4/gp-byteorder.m4 b/gphoto-m4/gp-byteorder.m4 index 2f2ce0be4..95d7435bf 100644 --- a/gphoto-m4/gp-byteorder.m4 +++ b/gphoto-m4/gp-byteorder.m4 @@ -40,7 +40,7 @@ fi # We're only interested in the target CPU, but it's not always set effective_target="$target" -if test "x$effective_target" = xNONE -o "x$effective_target" = x ; then +if test "x$effective_target" = xNONE || test "x$effective_target" = x ; then effective_target="$host" fi AC_SUBST(effective_target) -- cgit v1.2.1