raulcd commented on code in PR #46342:
URL: https://github.com/apache/arrow/pull/46342#discussion_r2079286723


##########
dev/release/utils-create-release-tarball.sh:
##########
@@ -46,18 +46,41 @@ rm -rf ${root_folder}
 # Resolve symbolic and hard links
 rm -rf ${root_folder}.tmp
 mv ${root_folder} ${root_folder}.tmp
-cp -R -L ${root_folder}.tmp ${root_folder}
+cp -a -L ${root_folder}.tmp ${root_folder}
 rm -rf ${root_folder}.tmp
 
 # Create a dummy .git/ directory to download the source files from GitHub with 
Source Link in C#.
+if stat --help > /dev/null 2>&1; then
+  # GNU stat
+  csharp_mtime=$(date --date="$(stat --format="%y" csharp)" +%Y%m%d%H%M.%S)

Review Comment:
   can we add a comment on why is this time necessary? Is csharp somehow 
generating this file if not there? I can't seem to find where would that fail 
when building the `tar.gz`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to