append svn revision to port version

Dan Ports dports at
Mon Dec 12 21:49:46 PST 2011

On Fri, Dec 09, 2011 at 02:25:24PM -0800, Bradley Giesbrecht wrote:
> Dan, I am not that familiar with svn. Are you suggesting something like the following?
> base/
> # Path to me.
> DIRNAME=$(dirname $0)
> SVN_REVISION=$(svnversion -n $DIRNAME)

Yes, exactly.


Dan R. K. Ports              MIT CSAIL      

More information about the macports-dev mailing list