gentoo-asahi-releng/scripts/update_musl_overlay
Andreas K. Hüttel f28b31c5f0
Add script to pull and update musl overlay
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
2021-05-09 23:23:55 +02:00

14 lines
293 B
Bash
Executable file

#!/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