Skip to content

Commit c5046b2

Browse files
nisel11axtloss
authored andcommitted
fix: remove "*" from moving tar sources
1 parent c744e2d commit c5046b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/download.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ func MoveSource(downloadPath string, sourcesPath string, source Source, moduleNa
256256
os.MkdirAll(filepath.Join(sourcesPath, GetSourcePath(source, moduleName)), 0o777)
257257
cmd := exec.Command(
258258
"tar",
259-
"-xf", filepath.Join(downloadPath, GetSourcePath(source, moduleName), moduleName+".tar*"),
259+
"-xf", filepath.Join(downloadPath, GetSourcePath(source, moduleName), moduleName+".tar"),
260260
"-C", filepath.Join(sourcesPath, GetSourcePath(source, moduleName)),
261261
)
262262
err := cmd.Run()

0 commit comments

Comments
 (0)