From e32e0828edc8910de7661d51c7630507ee063153 Mon Sep 17 00:00:00 2001 From: Michael Ferguson Date: Tue, 13 Sep 2022 10:57:37 -0400 Subject: [PATCH] Fix the generated tarball on Mac OS X We were seeing an error like chapel-1.28.0/compiler/dyno/tools/chpldoc/BUILD_VERSION: Skipping hardlink pointing to itself: chapel-1.28.0/compiler/dyno/tools/chpldoc/BUILD_VERSION It turns out that compiler/dyno/tools/chpldoc/BUILD_VERSION was a symbolic link that we listed twice in the tar command so it was included twice in the tar archive. Changing the gen_release script to include that file only once in the archive solves the problem. --- Signed-off-by: Michael Ferguson --- util/buildRelease/gen_release | 1 - 1 file changed, 1 deletion(-) diff --git a/util/buildRelease/gen_release b/util/buildRelease/gen_release index 536a7e18792e..5d44446f7e98 100755 --- a/util/buildRelease/gen_release +++ b/util/buildRelease/gen_release @@ -135,7 +135,6 @@ if (exists($ENV{"CHPL_GEN_RELEASE_NO_CLONE"})) { "util/start_test", "util/chpltags", "compiler/dyno/tools/chpldoc/LICENSE", - "compiler/dyno/tools/chpldoc/BUILD_VERSION", "compiler/dyno/tools/chpldoc/COPYRIGHT", "compiler/dyno/include/chpl/config/config.h.cmake", );