Skip to content

Commit 21a7495

Browse files
bors[bot]MikailBag
andauthored
Merge #129
129: Fix problem in script r=MikailBag a=MikailBag bors r+ Co-authored-by: Mikail Bagishov <bagishov.mikail@yandex.ru>
2 parents 65de89c + 0c46b35 commit 21a7495

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/minion-ffi/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
fn main() {
22
let crate_root = std::env::var("CARGO_MANIFEST_DIR").unwrap();
3-
let out_file = format!("../../target/minion-ffi.h"); //TODO better path
3+
let out_file = "../../target/minion-ffi.h".to_string(); //TODO better path
44
cbindgen::generate(crate_root)
55
.expect("was unable to generate bindings")
66
.write_to_file(out_file);

toolchains/g++/detect.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
gpp_path=$( which g++ )
3+
gpp_path=$( command -v g++ )
44
if [[ -z "$gpp_path" ]]; then
55
echo "g++ not found";
66
exit 1;

0 commit comments

Comments
 (0)