From 5d88f397b1d1e68c47f990e69ab51e33b8906aa0 Mon Sep 17 00:00:00 2001 From: ohfp <1813007-ohfp@users.noreply.gitlab.com> Date: Mon, 1 Feb 2021 16:48:26 +0100 Subject: [PATCH] source cargo env in build-script as well --- binary_tarball/scripts/4_Build_Binary_Tarball.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/binary_tarball/scripts/4_Build_Binary_Tarball.sh b/binary_tarball/scripts/4_Build_Binary_Tarball.sh index 4e1a9e4..1ac283b 100755 --- a/binary_tarball/scripts/4_Build_Binary_Tarball.sh +++ b/binary_tarball/scripts/4_Build_Binary_Tarball.sh @@ -16,6 +16,8 @@ export DEB_BUILD_HARDENING_FORMAT=1 export DEB_BUILD_HARDENING_PIE=1 # export PATH=/usr/lib/nasm-mozilla/bin:$PATH +source /root/.cargo/env + # we do change / unset some of them later, but setting them as set by Arch # might make it easier to maintain changes in build scripts on both sides