This website requires JavaScript.
Explore
Help
Sign In
interesting
/
riscv-openocd
mirror of
https://github.com/riscv/riscv-openocd.git
Watch
1
Star
0
Fork
You've already forked riscv-openocd
0
Code
Issues
Projects
Releases
Wiki
Activity
53883c2784
riscv-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 10:55:14 -06: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 07:03:37 -06: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 10:55:14 -06: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 13:45:28 -06:00