mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-28 05:49:33 +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")
|
command.append("--use-target-arch-name")
|
||||||
return Path(
|
return Path(
|
||||||
subprocess.run(command, cwd=str(HOME), check=True, stdout=subprocess.PIPE)
|
subprocess.run(command, cwd=str(HOME), check=True, stdout=subprocess.PIPE)
|
||||||
.stdout[:-1]
|
.stdout.strip()
|
||||||
.decode("utf8")
|
.decode("utf8")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user