Skip to content

Commit

Permalink
fixup: disable symlink support
Browse files Browse the repository at this point in the history
Signed-off-by: Matej Vasek <[email protected]>
  • Loading branch information
matejvasek committed Dec 12, 2023
1 parent 6d08815 commit 930497b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions hack/update-builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -623,10 +623,7 @@ func downloadTarball(tarballUrl, destDir string) error {
return fmt.Errorf("cannot read from tar reader: %w", err)
}
case tar.TypeSymlink:
err = os.Symlink(filepath.FromSlash(hdr.Linkname), dest)
if err != nil {
return fmt.Errorf("cannot create symlink: %w", err)
}
return fmt.Errorf("symlinks are not supported yet")
case tar.TypeDir:
err = os.MkdirAll(dest, 0755)
if err != nil {
Expand Down

0 comments on commit 930497b

Please sign in to comment.