repo.or.cz
/
ladish.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix project saved/loaded completion when there is stateless client
[ladish.git]
/
svnversion.sh
blob
f538ddd140c6303ffefd2e8d627169e1cda56511
1
#!/bin/sh
2
3
if
test
$#
-eq
1
4
then
5
DIR
=
${1}
6
else
7
DIR
=
.
8
fi
9
10
if
test -d
${DIR}
/
.svn
11
then
12
pushd
${DIR}
> /
dev
/
null
13
svnversion
14
popd
> /
dev
/
null
15
else
16
sed
's/^#define SVN_VERSION "\(.*\)"$/\1/'
${DIR}
/
svnversion.h
17
fi