summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2021-03-12 16:37:17 +0100
committerChristian Göttsche <cgzones@googlemail.com>2021-03-12 16:37:17 +0100
commit8ba4ef327e45252e0c85990d753396aa98366fb4 (patch)
tree1067b204fd132d6587138e1d722e8120fc49a597 /configure.ac
parent31e59cc60dbd1af8a3a0da2e706f816b5be9e7ba (diff)
configure: use portable AND
man:test(1) NOTE: Binary -a and -o are inherently ambiguous. Use 'test EXPR1 && test EXPR2' or 'test EXPR1 || test EXPR2' instead. Also fix indent
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 95b01143..b1eddbe7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -319,10 +319,10 @@ esac
AC_ARG_WITH([os-release],
[AS_HELP_STRING([--with-os-release=FILE],
- [location of an os-release file @<:@default=/etc/os-release@:>@])],
+ [location of an os-release file @<:@default=/etc/os-release@:>@])],
[],
[with_os_release=/etc/os-release])
-if test -n "$with_os_release" -a ! -f "$with_os_release"; then
+if test -n "$with_os_release" && test ! -f "$with_os_release"; then
if test -f "/usr/lib/os-release"; then
with_os_release="/usr/lib/os-release"
fi

© 2014-2024 Faster IT GmbH | imprint | privacy policy