Skip to content

Commit 425b998

Browse files
committed
build: concatenate path with correct operator
The `Path` class implements `/` as the concatenation operator instead of `+`.
1 parent 10addb0 commit 425b998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,7 @@ def configure_zos(o):
13561356
o['variables']['node_static_zoslib'] = b(True)
13571357
if options.static_zoslib_gyp:
13581358
# Apply to all Node.js components for now
1359-
o['variables']['zoslib_include_dir'] = Path(options.static_zoslib_gyp).parent + '/include'
1359+
o['variables']['zoslib_include_dir'] = Path(options.static_zoslib_gyp).parent / '/include'
13601360
o['include_dirs'] += [o['variables']['zoslib_include_dir']]
13611361
else:
13621362
raise Exception('--static-zoslib-gyp=<path to zoslib.gyp file> is required.')

0 commit comments

Comments
 (0)