Dan McGee wrote:
I added usr/share/man to the list as it is supposed to be the standard location for manpages (even though we move them above). BTW- why do we move them, Aaron? This uncovered another bug which I will explain below. I asked this a long time ago, the answer I got was "it's the arch way"
I didn't like having to parse ls output (and start another process) just to get an inode number, so I changed it to use the -samefile test of find. When doing this, I realized that because we execute our makepkg script with the -e option, returning an error code causes hardlinks to get set to nothing, and thus we don't do any file removal or creation. Thus the '|| true' and my comment above, which is similar to a construct used during the getopts call (Andrew, I believe you did that). Yes that's correct.