mirror of
https://github.com/bazel-contrib/bazel-lib
synced 2024-11-30 01:41:21 +00:00
cc956d8589
* fix(tar): append slash to top-level directory mtree entries bsdtar's mtree format has a quirk wherein entries without "/" in their first word are treated as "relative" entries, and "relative" directories will cause tar to "change directory" into the declared directory entry. If such a directory is followed by a "relative" entry, then the file will be created within the directory, instead of at top-level as expected. To mitigate, we append a slash to top-level directory entries. Fixes #851. * chore: golden files have BINDIR placeholder --------- Co-authored-by: Alex Eagle <alex@aspect.dev>
4 lines
288 B
Plaintext
4 lines
288 B
Plaintext
14project/ uid=0 gid=0 time=1672560000 mode=0755 type=dir
|
|
14project/__main__.py uid=0 gid=0 time=1672560000 mode=0755 type=file content={BINDIR}/lib/tests/tar/14project/__main__.py
|
|
14project_bin uid=0 gid=0 time=1672560000 mode=0755 type=file content={BINDIR}/lib/tests/tar/14project_bin
|