summaryrefslogtreecommitdiffstats
path: root/autogen.sh
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 /autogen.sh
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 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index eb09236..4017d32 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -51,7 +51,7 @@ mkdir -p perl/lib/Win
# If no arguments were specified and configure has run before, use the previous
# arguments
-if [ $# = 0 -a -x ./config.status ]; then
+if test $# = 0 && test -x ./config.status; then
./config.status --recheck
else
$CONFIGUREDIR/configure "$@"