diff options
author | Jim Meyering <meyering@redhat.com> | 2011-06-28 20:09:54 +0200 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-06-28 23:33:13 +0100 |
commit | f5098279b6d0de51b5dd855ee499ced157a33995 (patch) | |
tree | 8340054e7108c247d569d3ba0ce472625853cf75 /sh/hivexget | |
parent | 72daf40de09cdf78f951a941bf6fbf271bf9d44d (diff) | |
download | hivex-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-x | sh/hivexget | 2 |
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 |