Add script to pull and update musl overlay
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
parent
4087e82ce0
commit
f28b31c5f0
13
scripts/update_musl_overlay
Executable file
13
scripts/update_musl_overlay
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
MUSLDIR="/release/trees/musl-auto"
|
||||
MUSLURI="https://anongit.gentoo.org/git/proj/musl.git"
|
||||
|
||||
if [ ! -d "${MUSLDIR}" ] ; then
|
||||
echo musl directory not present yet or not a directory, fixing
|
||||
rm -rf "${MUSLDIR}"
|
||||
git clone "${MUSLURI}" "${MUSLDIR}"
|
||||
else
|
||||
cd "${MUSLDIR}"
|
||||
git pull
|
||||
fi
|
Loading…
Reference in a new issue