Skip to content

Commit 368fd49

Browse files
committed
Install: Do not use &&
1 parent d863e23 commit 368fd49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mhkit/package/+mhkit/+conda/parse_info.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
%
2525
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2626

27-
[status, cmd_out] = mhkit.sys(sprintf('conda activate %s && conda info', env_name));
27+
[status, cmd_out] = mhkit.sys(sprintf('conda run -n %s conda info', env_name));
2828
if status ~= 0
2929
logger.error('Failed to execute conda info');
3030
end

0 commit comments

Comments
 (0)