mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-24 23:15:46 +00:00
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
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user