summaryrefslogtreecommitdiffstats
path: root/sh/hivexget
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-06-28 20:09:54 +0200
committerRichard W.M. Jones <rjones@redhat.com>2011-06-28 23:33:13 +0100
commitf5098279b6d0de51b5dd855ee499ced157a33995 (patch)
tree8340054e7108c247d569d3ba0ce472625853cf75 /sh/hivexget
parent72daf40de09cdf78f951a941bf6fbf271bf9d44d (diff)
downloadhivex-f5098279b6d0de51b5dd855ee499ced157a33995.tar.gz
hivex-f5098279b6d0de51b5dd855ee499ced157a33995.tar.xz
hivex-f5098279b6d0de51b5dd855ee499ced157a33995.zip
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"
Diffstat (limited to 'sh/hivexget')
-rwxr-xr-xsh/hivexget2
1 files changed, 1 insertions, 1 deletions
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