composer/composer — pull request #1808 by temp (2013-04-18 08:32:13+00:00)
Title: Resolve symbolic link for selfupdate

When you have a symbolic link for composer.phar (for example composer.phar -> composer) and call "composer selfupdate", the symbolic link is replaced by the updated composer.phar.

This change resolves the symbolic links until a "real" file is found.