main: use ; to separate tar transform components

This commit is contained in:
Dawid Dziurla 2020-03-26 15:53:09 +01:00
parent 2d1645957a
commit 25ee9fdc80
No known key found for this signature in database
GPG key ID: 7B6D8368172E9B0B

View file

@ -66,7 +66,7 @@ async function main() {
"tar",
"--exclude-vcs",
"--exclude", "./debian",
"--transform", `s/^${sourceDirectory}/${package}-${version}/`,
"--transform", `s;^${sourceDirectory};${package}-${version};`,
"-cvzf", `${buildDirectory}/${package}_${version}.orig.tar.gz`,
sourceDirectory
])