mirror of https://github.com/xzeldon/htop.git
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
This commit is contained in:
parent
31e59cc60d
commit
8ba4ef327e
|
@ -322,7 +322,7 @@ AC_ARG_WITH([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
|
||||
|
|
Loading…
Reference in New Issue