Warning: Line X seems to hardcode the version number, consider using ${version} instead
Dan Ports
dports at ambulatoryclam.net
Wed Jan 6 19:59:26 PST 2010
On Wed, Jan 06, 2010 at 09:29:01PM -0600, Ryan Schmidt wrote:
> Instead of
>
> checksums zsh-4.3.10.tar.bz2 \
>
> use
>
> checksums zsh-${version}.tar.bz2 \
I don't understand this suggestion -- the checksums line is going to
have to be regenerated anyway when the version changes, so why not
hardcode the version number there? It is, after all, the checksum for
zsh-4.3.10.tar.bz2, not any other version of zsh.
Am I missing something?
Dan
--
Dan R. K. Ports <dports at ambulatoryclam.net>
Research Henchman
Massachusetts Institute of Technology <drkp at mit.edu>
Computer Science and Artificial Intelligence Lab <drkp at csail.mit.edu>
More information about the macports-dev
mailing list