From 2cc22dc7d21beec27c54766b6c866d1aba2c4033 Mon Sep 17 00:00:00 2001 From: ohfp <1813007-ohfp@users.noreply.gitlab.com> Date: Thu, 15 Jul 2021 15:43:16 +0200 Subject: cargo.toml needs to be separate, it seems --- scripts/prep-librewolf-dpkg.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/prep-librewolf-dpkg.sh') diff --git a/scripts/prep-librewolf-dpkg.sh b/scripts/prep-librewolf-dpkg.sh index ae3e3ef..dccf3c8 100755 --- a/scripts/prep-librewolf-dpkg.sh +++ b/scripts/prep-librewolf-dpkg.sh @@ -96,7 +96,7 @@ cd "${debian_dir}" patch -Np1 -i "${CI_PROJECT_DIR}"/cbindgen.patch cd "${work_dir}" -cat <<'EOF' >> "${debian_dir}"/Cargo.toml +cat <<'EOF' >> "${CI_PROJECT_DIR}"/Cargo.toml [package] name = "debian" version = "0.1.0" @@ -168,7 +168,7 @@ mk_add_options MOZ_SERVICES_HEALTHREPORT=0 mk_add_options MOZ_TELEMETRY_REPORTING=0 # workaround to use bundled cbindgen -ac_add_options CBINDGEN=\$topsrcdir/debian/.cargo/bin/cbindgen +ac_add_options CBINDGEN=\$topsrcdir/.cargo/bin/cbindgen EOF test "$( uname -p )" = "x86_64" && { echo "ac_add_options --disable-elf-hack" >> "${debian_dir}${_mozconfig}" ; } -- cgit