Jenkins: More macOS stuff

This commit is contained in:
richardg867
2022-07-15 23:17:07 -03:00
committed by GitHub
parent 0ebf0e0ece
commit 00b63fe9b8

View File

@@ -59,11 +59,12 @@ make_tar() {
sudo apt-get clean
elif which port > /dev/null 2>&1
then
sudo port selfupdate
sudo port install gnutar xz
fi
fi
# Prefer gnutar on macOS.
# Use MacPorts gnutar (if installed) on macOS.
local tar_cmd=tar
which gnutar > /dev/null 2>&1 && local tar_cmd=gnutar