This website requires JavaScript.
Explore
Help
Sign In
zcy
/
tinyriscv-openocd
Watch
1
Star
0
Fork
You've already forked tinyriscv-openocd
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
c333611f2b
tinyriscv-openocd
/
guess-rev.sh
9 lines
98 B
Bash
Raw
Normal View
History
Unescape
Escape
Changed openocd version info creation to be more useful. - Now displays subversion revision and svn URL git-svn-id: svn://svn.berlios.de/openocd/trunk@220 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-12-10 16:55:14 +00:00
#!/bin/bash
REV
=
unknown
Pavel Chromy fix: the guess-rev.sh scripts to retrieve SVN revision returns the result including new line causing PKGBLDREV macro to not work git-svn-id: svn://svn.berlios.de/openocd/trunk@398 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-29 13:03:37 +00:00
which svnversion > /dev/null 2>
&
1
&&
REV
=
`
svnversion -n
`
Changed openocd version info creation to be more useful. - Now displays subversion revision and svn URL git-svn-id: svn://svn.berlios.de/openocd/trunk@220 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-12-10 16:55:14 +00:00
echo
-n
$REV
- Synced code with branch git-svn-id: svn://svn.berlios.de/openocd/trunk@270 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-01-21 19:45:28 +00:00