mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
use cargo manifest path to find build.py script
This commit is contained in:
parent
f7d238d1f3
commit
cd13888a1b
1 changed files with 2 additions and 1 deletions
|
@ -69,7 +69,8 @@ fn generate_properties() {
|
|||
}
|
||||
}
|
||||
|
||||
let script = Path::new(file!()).parent().unwrap().join("properties").join("build.py");
|
||||
let script = Path::new(&env::var("CARGO_MANIFEST_DIR").unwrap())
|
||||
.join("properties").join("build.py");
|
||||
let product = if cfg!(feature = "gecko") { "gecko" } else { "servo" };
|
||||
let status = Command::new(&*PYTHON)
|
||||
.arg(&script)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue