summaryrefslogtreecommitdiff
path: root/run-bootstrap-in-chroot
diff options
context:
space:
mode:
Diffstat (limited to 'run-bootstrap-in-chroot')
-rwxr-xr-xrun-bootstrap-in-chroot3
1 files changed, 2 insertions, 1 deletions
diff --git a/run-bootstrap-in-chroot b/run-bootstrap-in-chroot
index f172165e..40ad0821 100755
--- a/run-bootstrap-in-chroot
+++ b/run-bootstrap-in-chroot
@@ -36,6 +36,7 @@ EOF
fi
if ([ "x$DEBIAN_MIRROR" = x ] && echo DEBIAN_MIRROR is unspecified >&2) ||
+ ([ "x$GITS" = x ] && echo GITS is unspecified >&2) ||
([ "x$LFS_MIRROR" = x ] && echo LFS_MIRROR is unspecified >&2)
then
echo It is recommended that mirrors are used
@@ -97,7 +98,7 @@ fi
# Update the git repos.
mkdir -p "$dir/tree/baserock"
rm -rf "$dir/tree/baserock/gits"
-cp -rl "$HOME/baserock/gits" "$dir/tree/baserock/gits"
+cp -rl "$GITS" "$dir/tree/baserock/gits"
# Run pass2 of bootstrap. This actually runs pass1 too, but quickly, since
# it's already built.