GreenplumPython
GreenplumPython copied to clipboard
Fix error when `/tmp` is a symlink
On macOS, /tmp is a symlink to /private/tmp. When creating the tarball, the symlink will be resolved, making the file paths on server are different from those on client. This results in a FileNotFoundError.
This patch fixes the issue by resolving the local path to the real one if it is a symlink.
Is this ready for the next round of review? I saw CI failed.
Quote from https://github.com/greenplum-db/GreenplumPython/pull/221#issuecomment-1774611860
Is this ready for the next round of review? I saw CI failed.
Not yet, still fixing. The switch on server is not easy.