summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-09-11 08:11:43 +0100
committerRichard Jones <rjones@redhat.com>2010-09-11 08:11:43 +0100
commit264629b9f0ace1062b453b2d0ae55e48385189d3 (patch)
tree122c23c53683f0b71c2cb00c7fe6d1c7d2ecc4c4 /autogen.sh
parent431503d007b22bf10226843cca84628544fadca9 (diff)
downloadlibguestfs-264629b9f0ace1062b453b2d0ae55e48385189d3.tar.gz
libguestfs-264629b9f0ace1062b453b2d0ae55e48385189d3.tar.xz
libguestfs-264629b9f0ace1062b453b2d0ae55e48385189d3.zip
syntax: Replace -a and -o with && and || for portability.
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 6e89c842..19cca0e3 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -70,7 +70,7 @@ require_ocaml_pkg()
# 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 "$@"