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
fengzch-das
multibuild
Commits
42799f20
Commit
42799f20
authored
Jan 26, 2021
by
Isuru Fernando
Browse files
Add get_os
parent
61829885
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
common_utils.sh
common_utils.sh
+6
-0
No files found.
common_utils.sh
View file @
42799f20
...
@@ -329,6 +329,12 @@ function pip_opts {
...
@@ -329,6 +329,12 @@ function pip_opts {
[ -n "
$MANYLINUX_URL
" ] && echo "
--find-links
$MANYLINUX_URL
"
[ -n "
$MANYLINUX_URL
" ] && echo "
--find-links
$MANYLINUX_URL
"
}
}
function get_os {
# Report OS as given by uname
# Use any Python that comes to hand.
python -c 'import platform; print(platform.uname()[0])'
}
function get_platform {
function get_platform {
# Report platform as given by uname
# Report platform as given by uname
# Use any Python that comes to hand.
# Use any Python that comes to hand.
...
...
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