tools: mkdir build directories

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner 2022-11-21 21:05:55 -05:00
parent 3a97b22d57
commit 19b9890db5
No known key found for this signature in database
GPG key ID: ACEB29740C9A4E97
16 changed files with 16 additions and 0 deletions

View file

@ -37,6 +37,7 @@ EXTENSIONS="@(.tar.xz|.tar.bz2|.tar.gz|.tar|.sfs)"
update_symlinks() {
# Symlink the latest stages3 to build from
for d in ${BUILD_SRCDIR_BASE}/builds/{default,hardened,musl} ; do
mkdir -p "${d}"
pushd "${d}" >/dev/null || exit
shopt -s extglob
for f in $(ls stage3*${EXTENSIONS} | grep -v latest | give_latest_from_dates ) ; do