This commit is contained in:
Mikaël Cluseau
2021-01-20 15:34:40 +01:00
parent 46bfd58d8e
commit a00ee23b14
5 changed files with 68 additions and 55 deletions

View File

@ -80,9 +80,10 @@ func run(_ *cobra.Command, args []string) {
for _, path := range paths {
existing[path] = true
target := "/" + path
fmt.Println("linking", path)
target := "/" + path
os.Remove(target)
os.MkdirAll(filepath.Dir(target), 0755)