Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rob Latham
mpich-CVS
Commits
209dd38d
Commit
209dd38d
authored
Sep 20, 2007
by
jayesh
Browse files
1) Open the *correct* Version file (2) Avoid reading newline from the Version file
parent
85331c6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
winconfigure.wsf
View file @
209dd38d
...
...
@@ -1008,14 +1008,15 @@ End Function
' Get MPICH2 Version
'
Function GetMPICH2Version()
if f.FileExists("
src\
maint\Version") then
if f.FileExists("maint\Version") then
Dim fin, ver
Set fin = f.OpenTextFile("src\maint\Version")
ver = fin.ReadAll()
Set fin = f.OpenTextFile("maint\Version")
ver = fin.ReadLine()
Trim(ver)
fin.Close()
GetMPICH2Version = ver
else
GetMPICH2Version = "
1
.0.
5
"
GetMPICH2Version = "
0
.0.
0
"
end if
End Function
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment