On Sun, December 16, 2007 1:56 am, jt wrote:
> Just installed macports and git-core on 10.5 .
> I can see that lots of generated bin are just the same file:
>
> cd /opt/local/bin;
> for i in git-*; do diff -qs $i git-tag; done | grep identical | wc
>
> Some "cp" could be replaced by "ln" in the build process.

Aren't those all those ${prefix}/bin/git-* files hard links to
${prefix}/bin/git already?  The Makefile in the git source tarball sure
looks to me like that's what it's creating, and the link count reported
for each of those files by the second column of 'ls -l' is 2. 
Furthermore, I'm pretty sure that a tool that Linus Torvalds uses for
managing Linux kernel development isn't going to copy when it could hard
link :)

Kind regards,


Maun Suang


-- 
Boey Maun Suang
Email: [EMAIL PROTECTED]

_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to