Bug 1591538 - Remove removal of Cargo.toml files in the SM tarball; r=sfink

${tgtpath} always contain "js" by default, so this command is doing
absolutely nothing for most people out there, and if it was working
it would be deleting every Cargo.toml file from /third_party/rust
anyway.

Differential Revision: https://phabricator.services.mozilla.com/D50736

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Anthony Ramine 2019-11-18 08:46:48 +00:00
Родитель 24972ce434
Коммит 7dec8d283a
1 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

@ -249,10 +249,6 @@ README_EOF
# Remove *.pyc and *.pyo files if any
find ${tgtpath} -type f -name "*.pyc" -o -name "*.pyo" | xargs rm -f
# Remove non-JS Cargo.toml files (for example, the invalid Cargo.toml files
# used for some testing).
find ${tgtpath} -type f -name Cargo.toml | grep -v js | xargs rm -f
# Roll the tarball
echo "Packaging source tarball at ${pkgpath}..."
${TAR} $taropts ${pkgpath} -C ${STAGING} ${version}