summaryrefslogtreecommitdiffstats
path: root/source/xap
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap')
-rwxr-xr-xsource/xap/mozilla-firefox/build-deps/cbindgen/cbindgen.build2
-rwxr-xr-xsource/xap/mozilla-thunderbird/build-deps/cbindgen/cbindgen.build2
2 files changed, 4 insertions, 0 deletions
diff --git a/source/xap/mozilla-firefox/build-deps/cbindgen/cbindgen.build b/source/xap/mozilla-firefox/build-deps/cbindgen/cbindgen.build
index e3030faa0..a4659df29 100755
--- a/source/xap/mozilla-firefox/build-deps/cbindgen/cbindgen.build
+++ b/source/xap/mozilla-firefox/build-deps/cbindgen/cbindgen.build
@@ -52,4 +52,6 @@ find . \
-exec chmod 644 {} \;
cargo build --release
+rm /root/.cargo/bin 2> /dev/null
+mkdir -p /root/.cargo/bin
install -Dm755 target/release/cbindgen /root/.cargo/bin
diff --git a/source/xap/mozilla-thunderbird/build-deps/cbindgen/cbindgen.build b/source/xap/mozilla-thunderbird/build-deps/cbindgen/cbindgen.build
index e3030faa0..a4659df29 100755
--- a/source/xap/mozilla-thunderbird/build-deps/cbindgen/cbindgen.build
+++ b/source/xap/mozilla-thunderbird/build-deps/cbindgen/cbindgen.build
@@ -52,4 +52,6 @@ find . \
-exec chmod 644 {} \;
cargo build --release
+rm /root/.cargo/bin 2> /dev/null
+mkdir -p /root/.cargo/bin
install -Dm755 target/release/cbindgen /root/.cargo/bin