diff options
author | davidovski <david@davidovski.xyz> | 2023-01-21 13:50:52 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-01-21 13:50:52 +0000 |
commit | e7be433c4aefb0a72f8a6b27e2aa15dd842fc2de (patch) | |
tree | a350a437a80a3238dae5d3763b1f823d3dd9abd1 /src | |
parent | 0d1cc409caa9f94ebd6334a920a992e8a8ae233e (diff) |
Make mirror work inside a chroot
Diffstat (limited to 'src')
-rw-r--r-- | src/mirror.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |