- Added support for standard 32-bit images.
[AROS.git] / scripts / svnrev.sh
blob06a42e41d0944906d47685bb7e846aef00ff424b
1 #!/bin/sh
3 # get svn revision via svn or via git
6 if test -d $1/.svn; then
7 svn info $1 | sed -n 's/Revision: //p'
8 else
9 if test -d $1/.git; then
10 cd $1
11 git log -1 | grep git-svn-id | sed 's|.*@\(.*\) .*|\1|'
12 else
13 echo "NoRev"