Skip to content

Commit

Permalink
fix for symlink copy GoogleContainerTools#437
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Tsyganov committed Nov 7, 2018
1 parent d977901 commit 2213f9c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/util/fs_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -501,8 +501,7 @@ func CopySymlink(src, dest string) error {
if err != nil {
return err
}
linkDst := filepath.Join(dest, link)
return os.Symlink(linkDst, dest)
return os.Symlink(link, dest)
}

// CopyFile copies the file at src to dest
Expand Down

0 comments on commit 2213f9c

Please sign in to comment.