16 Feb
2011
16 Feb
'11
00:28
Guys, I want a quick and dirty want to get the svn revision of a local svn module. What I'm currently doing is: #!/bin/bash getsvnrev() { msg "Determining SVN revision for $pkgname..." [[ -d .svn ]] && echo $(sed -n '4p' .svn/entries) || echo 9999 } pkgver=$(getsvnrev) It works fine, but is there a standard way (no not svnversion) to read the local version other than the backwards way I'm doing it? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org