Skip to content

Commit

Permalink
build: concatenate path with correct operator
Browse files Browse the repository at this point in the history
The `Path` class implements `/` as the concatenation operator instead
of `+`.
  • Loading branch information
VoltrexKeyva committed Oct 14, 2024
1 parent 10addb0 commit 425b998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -1356,7 +1356,7 @@ def configure_zos(o):
o['variables']['node_static_zoslib'] = b(True)
if options.static_zoslib_gyp:
# Apply to all Node.js components for now
o['variables']['zoslib_include_dir'] = Path(options.static_zoslib_gyp).parent + '/include'
o['variables']['zoslib_include_dir'] = Path(options.static_zoslib_gyp).parent / '/include'
o['include_dirs'] += [o['variables']['zoslib_include_dir']]
else:
raise Exception('--static-zoslib-gyp=<path to zoslib.gyp file> is required.')
Expand Down

0 comments on commit 425b998

Please sign in to comment.