https://pantsbuild.org/ logo
#development
Title
# development
b

bitter-ability-32190

10/19/2022, 5:52 PM
Just to double-check, the fact that if I specify a dot-file as an exe when downloading, it won't set the executable bit. Thats a bug right? https://github.com/pantsbuild/pants/blob/be00ed54ca4d68539c5d840bf2381b33603d747a/src/python/pants/core/util_rules/external_tool.py#L34
Copy code
>>> ".foo".lstrip("./")
'foo'
1
I suspect what was intended was likely
os.path.normpath
w

witty-crayon-22786

10/19/2022, 5:55 PM
yea, seems like a bug
b

bitter-ability-32190

10/19/2022, 5:55 PM
Ok will be fixing in upcoming PR 🙂
Just wanted to check