Skip to content

Commit a78a255

Browse files
authored
Merge pull request #3719 from branfosj/20250514153118_new_pr_openssl_wrapper
fix dry run for `openssl_wrapper`
2 parents 2798a9a + 30aca89 commit a78a255

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

easybuild/easyblocks/o/openssl_wrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def __init__(self, *args, **kwargs):
261261

262262
# Check system include paths for OpenSSL headers
263263
cmd = "LC_ALL=C gcc -E -Wp,-v -xc /dev/null"
264-
res = run_shell_cmd(cmd, hidden=True)
264+
res = run_shell_cmd(cmd, hidden=True, in_dry_run=True)
265265

266266
sys_include_dirs = []
267267
for match in re.finditer(r'^\s(/[^\0\n]*)+', res.output, re.MULTILINE):
@@ -422,7 +422,7 @@ def get_openssl_bin_version(self, bin_name):
422422
return None, None
423423

424424
cmd = "%s version" % bin_path
425-
res = run_shell_cmd(cmd, fail_on_error=False, hidden=True)
425+
res = run_shell_cmd(cmd, fail_on_error=False, hidden=True, in_dry_run=True)
426426

427427
try:
428428
bin_version = res.output.split(' ')[1]

0 commit comments

Comments
 (0)