From f5098279b6d0de51b5dd855ee499ced157a33995 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 28 Jun 2011 20:09:54 +0200 Subject: maint: avoid using test's -a and -o operators; they are not portable * configure.ac: use "test C1 && test C2", not "test C1 -a C2"; * autogen.sh: Likewise. * sh/hivexget: Use "test C1 || test C2", not "test C1 -o C2" --- sh/hivexget | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sh/hivexget') diff --git a/sh/hivexget b/sh/hivexget index f804d0d..be73d62 100755 --- a/sh/hivexget +++ b/sh/hivexget @@ -17,7 +17,7 @@ set -e -if [ $# -lt 2 -o $# -gt 3 ]; then +if test $# -lt 2 || test $# -gt 3; then echo "hivexget hivefile path [key]" exit 1 fi -- cgit