From e7be433c4aefb0a72f8a6b27e2aa15dd842fc2de Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 21 Jan 2023 13:50:52 +0000 Subject: Make mirror work inside a chroot --- src/mirror.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mirror.sh b/src/mirror.sh index ea23968..7a2a672 100644 --- a/src/mirror.sh +++ b/src/mirror.sh @@ -17,7 +17,7 @@ create_deps_graph () { } mirror () { - local MIRROR_DIR=${1:-$MIRROR_DIR} + local MIRROR_DIR=${SYSROOT}${1:-$MIRROR_DIR} mkdir -p $MIRROR_DIR create_deps_graph > $MIRROR_DIR/deps.graph -- cgit v1.2.1