Skip to content
Snippets Groups Projects
Commit 159d2d47 authored by Christian Goetze's avatar Christian Goetze
Browse files

Make update_version_files.py look in the environment for the location of

the svn executable, default to "svn" is not set.
parent e4b45101
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,9 @@
import getopt, sys, os, re, commands
from indra.util import llversion
svn = os.path.expandvars("${SVN}")
if not svn: svn = "svn"
def usage():
print "Usage:"
print sys.argv[0] + """ [options]
......@@ -213,7 +216,7 @@ def main():
server_version = new_version
else:
# Assume we're updating just the build number
cl = 'svn info "%s"' % src_root
cl = '%s info "%s"' % (svn, src_root)
status, output = _getstatusoutput(cl)
if verbose:
print
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment