macos-setup: do "make clean", not "make distclean", for zstd.

It has no configure script, so there's no need for "make distclean", and
the Makefile supplied with it has no "make distclean" rule; just do
"make clean".

[skip ci]


(cherry picked from commit 806f524a10)
This commit is contained in:
Guy Harris 2020-12-19 07:19:12 +00:00
parent 10985f6e27
commit ffb049f040
1 changed files with 6 additions and 1 deletions

View File

@ -1270,7 +1270,12 @@ uninstall_zstd() {
echo "Uninstalling zstd:"
cd zstd-$installed_zstd_version
$DO_MAKE_UNINSTALL || exit 1
make distclean || exit 1
#
# zstd has no configure script, so there's no need for
# "make distclean", and the Makefile supplied with it
# has no "make distclean" rule; just do "make clean".
#
make clean || exit 1
cd ..
rm zstd-$installed_zstd_version-done