Since permissions and timestamps are changed for the sake of determinism, . must not be added to the archive. Otherwise, tar may try to modify pwd when extracting.
Fixes #5789.
Ping @laanwj: Needs 0.10 cherry-pick.
Gitian build results: https://bitcoincore.org/cfields/bitcoin-0.10.0rc4-tarfix/bitcoin-0.10.0-linux32.tar.gz https://bitcoincore.org/cfields/bitcoin-0.10.0rc4-tarfix/bitcoin-0.10.0-linux64.tar.gz https://bitcoincore.org/cfields/bitcoin-0.10.0rc4-tarfix/bitcoin-0.10.0-osx64.tar.gz https://bitcoincore.org/cfields/bitcoin-0.10.0rc4-tarfix/bitcoin-0.10.0-osx-unsigned.tar.gz https://bitcoincore.org/cfields/bitcoin-0.10.0rc4-tarfix/bitcoin-0.10.0-win32.zip https://bitcoincore.org/cfields/bitcoin-0.10.0rc4-tarfix/bitcoin-0.10.0-win64.zip
This changes the osx-unsigned dir structure, but I was planning to do that in the future anyway. It doesn't harm anything.