Skip to content

Commit

Permalink
Bazel docs: Extract tarballs with --warning=no-unknown-keyword
Browse files Browse the repository at this point in the history
Currently the //site target produces 8000 (!) lines of warnings ("tar: Ignoring unknown extended header keyword ...").

PiperOrigin-RevId: 358082135
  • Loading branch information
fweikert authored and copybara-github committed Feb 18, 2021
1 parent 49f2099 commit f3c2ee2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/jekyll-tree.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ readonly VERSION_DIR="$OUT_DIR/versions/$VERSION"
function setup {
mkdir -p "$OUT_DIR"
cd "$OUT_DIR"
tar -xf "${JEKYLL_BASE}"
tar --warning=no-unknown-keyword -xf "${JEKYLL_BASE}"

mkdir -p "$VERSION_DIR"
mv "$OUT_DIR"/docs/* "$VERSION_DIR"
Expand Down Expand Up @@ -99,7 +99,7 @@ function unpack_skylark_rule_docs {
local tmp_dir=$TMP/skylark
mkdir -p $tmp_dir
cd "$tmp_dir"
tar -xf "${STARLARK_RULE_DOCS}"
tar --warning=no-unknown-keyword -xf "${STARLARK_RULE_DOCS}"
copy_skylark_rule_doc pkg "Packaging"
}

Expand Down

0 comments on commit f3c2ee2

Please sign in to comment.