summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abuild.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index 97fe304..7654baa 100644
--- a/abuild.in
+++ b/abuild.in
@@ -2643,6 +2643,7 @@ aportsgit=${APORTSDIR:-${startdir}}
repo_template=$aportsgit/$repo/.rootbld-repositories
SRCDEST=${SRCDEST:-$startdir}
+CARGO_HOME=$SRCDEST/cargo
BUILD_ROOT=
@@ -2661,7 +2662,7 @@ if [ -z "$REPODEST" ]; then
fi
# for recursive action
-export REPODEST SRCDEST
+export REPODEST SRCDEST CARGO_HOME
# add dbg subpackage if its enabled globally
if [ -n "$DEFAULT_DBG" ] && ! subpackage_types_has "dbg" && ! options_has "!dbg" && [ "$arch" != "noarch" ]; then