Mercurial > octave
diff scripts/miscellaneous/private/tar_is_bsd.m @ 28921:967cfcde2e35
maint: Use parentheses around conditional expressions.
* memory.m, tar_is_bsd.m, runge_kutta_23s.m,
load_packages_and_dependencies.m, unload_packages.m, camlookat.m, camorbit.m,
__unite_shared_vertices__.m, streamribbon.m, struct2hdl.m, __alltohandles__.m,
webwrite.m:
Use parentheses around conditional expressions
author | Rik <rik@octave.org> |
---|---|
date | Tue, 13 Oct 2020 23:26:17 -0700 |
parents | bd51beb6205e |
children | 6e460773bdda |
line wrap: on
line diff
--- a/scripts/miscellaneous/private/tar_is_bsd.m Tue Oct 13 23:19:09 2020 -0700 +++ b/scripts/miscellaneous/private/tar_is_bsd.m Tue Oct 13 23:26:17 2020 -0700 @@ -38,7 +38,7 @@ function out = tar_is_bsd () ## BSD tar needs to be handled differently from GNU tar persistent cache - if isempty (cache) + if (isempty (cache)) [status, tar_ver_str] = system ("tar --version"); if (status) error ("tar: Failed executing tar --version (status = %d)", status);