main: use ; to separate tar transform components
This commit is contained in:
parent
2d1645957a
commit
25ee9fdc80
2
main.js
2
main.js
|
@ -66,7 +66,7 @@ async function main() {
|
||||||
"tar",
|
"tar",
|
||||||
"--exclude-vcs",
|
"--exclude-vcs",
|
||||||
"--exclude", "./debian",
|
"--exclude", "./debian",
|
||||||
"--transform", `s/^${sourceDirectory}/${package}-${version}/`,
|
"--transform", `s;^${sourceDirectory};${package}-${version};`,
|
||||||
"-cvzf", `${buildDirectory}/${package}_${version}.orig.tar.gz`,
|
"-cvzf", `${buildDirectory}/${package}_${version}.orig.tar.gz`,
|
||||||
sourceDirectory
|
sourceDirectory
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in a new issue