Skip to content

Commit

Permalink
Merge branch 'main' into feat/jsonNormalisation/v3
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobmoellerdev authored Jan 7, 2025
2 parents 5b22278 + 5cc70b2 commit c562a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/ocm/tools/toi/drivers/docker/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ func generateTar(files map[string]blobaccess.BlobAccess, uid int) (io.ReadCloser
dir := path
for dir != "/" {
dir = unix_path.Dir(dir)
if !have[dir] {
if dir != "/" && dir != "." && !have[dir] {
dirHdr := &tar.Header{
Typeflag: tar.TypeDir,
Name: dir,
Expand Down

0 comments on commit c562a55

Please sign in to comment.