A tiny patch for Urjtag's autoconfigure to use GIT "log" hash as a
snapshot version. I hope it doesn't broke previous logic...
Unfortunately 'git-svn-id' field is not used since 2017 ,

The "SVN_REVISION" is used in the "src/apps/jtag/jtag.c" for
banner as %s string and shouldn't be an integer so GIT hash works well.

Note
'REVISION = "0"' versus 'REVISION -eq "0"'
since previous check returns emtpy string: ""
and numeric comparison  " if test ... -eq"  fails.

Attachment: 0001-git-log-hash-as-version-number.patch
Description: Binary data

_______________________________________________
UrJTAG-development mailing list
UrJTAG-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to