HMBXR5601-827 - Tar up export to preserve links
This commit is contained in:
parent
8bc62d86f4
commit
9bf1c08f81
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ def doExport(exportfolder, exportpathlist, partdest = "", build_variant = "") {
|
|||
echo "Copy \"${srcFileExpanded}\" to \"${destFolderExpanded}\""
|
||||
if (isUnix()) {
|
||||
result = sh( script: """
|
||||
cp -r -v "${srcFileExpanded}" "${destFolderExpanded}"
|
||||
cp -v --no-dereference --preserve=links -r "${srcFileExpanded}" "${destFolderExpanded}"
|
||||
if [ \$? -ne 0 ]; then exit 1; fi
|
||||
""",
|
||||
returnStatus: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue