Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
159d2d47
Commit
159d2d47
authored
17 years ago
by
Christian Goetze
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/update_version_files.py
+4
-1
4 additions, 1 deletion
scripts/update_version_files.py
with
4 additions
and
1 deletion
scripts/update_version_files.py
+
4
−
1
View file @
159d2d47
...
...
@@ -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
=
'
s
vn
info
"
%s
"'
%
src_root
cl
=
'
%
s info
"
%s
"'
%
(
svn
,
src_root
)
status
,
output
=
_getstatusoutput
(
cl
)
if
verbose
:
print
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment