зеркало из https://github.com/microsoft/LightGBM.git
[ci] [R-package] use --no-xattrs when re-tarring CRAN-style package (#6540)
This commit is contained in:
Родитель
830763d9e5
Коммит
3d386be29b
|
@ -202,8 +202,12 @@ if ${BUILD_VIGNETTES} ; then
|
||||||
rm -f ./lightgbm/src/utils/*.o
|
rm -f ./lightgbm/src/utils/*.o
|
||||||
|
|
||||||
echo "re-tarring ${TARBALL_NAME}"
|
echo "re-tarring ${TARBALL_NAME}"
|
||||||
|
# --no-xattrs is the default in GNU tar but not some distributions of BSD tar.
|
||||||
|
# Enable it here to avoid errors on macOS.
|
||||||
|
# ref: https://stackoverflow.com/a/74373784/3986677
|
||||||
tar \
|
tar \
|
||||||
-cz \
|
-cz \
|
||||||
|
--no-xattrs \
|
||||||
-f "${TARBALL_NAME}" \
|
-f "${TARBALL_NAME}" \
|
||||||
lightgbm \
|
lightgbm \
|
||||||
> /dev/null 2>&1
|
> /dev/null 2>&1
|
||||||
|
|
Загрузка…
Ссылка в новой задаче