Improved variables of both build shell scripts

This commit is contained in:
MartinEesmaa
2024-10-20 20:33:03 +11:00
parent e0397d1db9
commit cead6aa405
2 changed files with 13 additions and 15 deletions

View File

@ -62,17 +62,14 @@ setup_freebsd() {
}
build_repos() {
if [ ! -d vvenc ]; then
git clone --depth=1 https://github.com/fraunhoferhhi/vvenc
else
git -C vvenc pull
fi
if [ ! -d vvdec ]; then
git clone --depth=1 https://github.com/fraunhoferhhi/vvdec
else
git -C vvdec pull
fi
for clone in vvenc vvdec; do
if [ ! -d $clone ]; then
git clone --depth=1 https://github.com/fraunhoferhhi/$clone
else
git -C $clone pull
fi
done
for REPO in vvenc vvdec; do
cd $REPO