Skip to content
This repository was archived by the owner on May 22, 2021. It is now read-only.

Commit a9ca603

Browse files
author
Philip Misiowiec
committed
tar up dotfiles too
1 parent e5f6f46 commit a9ca603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

image.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func (e *ExportedImage) TarLayer() error {
8080
}
8181
defer os.Chdir(cwd)
8282

83-
cmd := exec.Command("sudo", "/bin/bash", "-c", "tar cvf ../layer.tar *")
83+
cmd := exec.Command("sudo", "/bin/bash", "-c", "tar cvf ../layer.tar ./")
8484
out, err := cmd.CombinedOutput()
8585
if err != nil {
8686
println(string(out))

0 commit comments

Comments
 (0)