Merge pull request #17 from waja-archive/tar_fix
Symlinks are transformed as well, which leads into broken symlinks.
This commit is contained in:
commit
e6341a655f
2
main.js
2
main.js
|
@ -89,7 +89,7 @@ async function main() {
|
||||||
"tar",
|
"tar",
|
||||||
"--exclude-vcs",
|
"--exclude-vcs",
|
||||||
"--exclude", "./debian",
|
"--exclude", "./debian",
|
||||||
"--transform", `s/^\./${package}-${version}/`,
|
"--transform", `s/^\./${package}-${version}/S`,
|
||||||
"-cvzf", `${buildDirectory}/${package}_${version}.orig.tar.gz`,
|
"-cvzf", `${buildDirectory}/${package}_${version}.orig.tar.gz`,
|
||||||
"-C", sourceDirectory,
|
"-C", sourceDirectory,
|
||||||
"./"
|
"./"
|
||||||
|
|
Loading…
Reference in a new issue