Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
3fecf857
Commit
3fecf857
authored
Nov 07, 2014
by
John Chodera (MSKCC)
Browse files
Version number in Linux packaging script is now extracted from CMakeCache.txt (via @peastman).
parent
dda50ec8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
devtools/packaging/scripts/linux/package.sh
devtools/packaging/scripts/linux/package.sh
+1
-1
No files found.
devtools/packaging/scripts/linux/package.sh
View file @
3fecf857
...
...
@@ -5,7 +5,7 @@
# CONFIGURE HERE
export
PACKAGE_DIR
=
"packaging"
# directory to stuff packaged source distribution
export
VERSION
=
"6.2.0"
# version string
export
VERSION
=
$(
sed
-nr
"s/OPENMM_VERSION:STRING=(.*)/
\1
/p"
build/CMakeCache.txt
)
export
PACKAGE_SUBDIR
=
"OpenMM-
${
VERSION
}
-Linux"
# directory where distribution will be unpacked
export
DISTRO_PREFIX
=
"OpenMM-
${
VERSION
}
-Linux"
# prefix for source distribution (e.g. ${DISTRIBUTION_NAME}.zip)
...
...
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