mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
Correctly strip newline (on Windows)
This commit is contained in:
2
.github/scripts/common.py
vendored
2
.github/scripts/common.py
vendored
@ -28,7 +28,7 @@ def get_build_dir(config) -> Path:
|
||||
command.append("--use-target-arch-name")
|
||||
return Path(
|
||||
subprocess.run(command, cwd=str(HOME), check=True, stdout=subprocess.PIPE)
|
||||
.stdout[:-1]
|
||||
.stdout.strip()
|
||||
.decode("utf8")
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user