Skip to content
Permalink
Browse files

Skip generating OS X tmp files

Will prevent the generation of ._* files when building on Mac

Addresses #8359

pr-link: #9104
change-id: cid-a2def70f8cb0bea14f6dc88ec01a7ebd696c33ac
  • Loading branch information...
ns1123 authored and alluxio-bot committed May 16, 2019
1 parent 0ca68a3 commit 94cc49a8a021d9c9b1fa12f898feb53ad2530aed
Showing with 2 additions and 1 deletion.
  1. +2 −1 dev/scripts/src/alluxio.org/build-distribution/cmd/generate-tarball.go
@@ -341,7 +341,8 @@ func generateTarball(hadoopClients []string) error {
addAdditionalFiles(srcPath, dstPath, hadoopVersion, version)

chdir(cwd)
run("creating the distribution tarball", "tar", "-czvf", tarball, dstDir)
os.Setenv("COPYFILE_DISABLE","1")
run("creating the new distribution tarball", "tar", "-czvf", tarball, dstDir)
run("removing the temporary repositories", "rm", "-rf", srcPath, dstPath)

return nil

0 comments on commit 94cc49a

Please sign in to comment.
You can’t perform that action at this time.