Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
autogrow4
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jdurrant
autogrow4
Commits
4fefbeeb
Commit
4fefbeeb
authored
May 01, 2020
by
jspiegel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revise sys.platform checks in docker and user_vars
parent
fdcdbc4e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
CHANGELOG.md
CHANGELOG.md
+1
-1
autogrow/user_vars.py
autogrow/user_vars.py
+1
-1
docker/autogrow_in_docker.py
docker/autogrow_in_docker.py
+2
-2
No files found.
CHANGELOG.md
View file @
4fefbeeb
...
@@ -27,7 +27,7 @@ WIP (4.0.1)
...
@@ -27,7 +27,7 @@ WIP (4.0.1)
*
Revised
`./docker/README.md`
to clarify docker use.
*
Revised
`./docker/README.md`
to clarify docker use.
*
Updated the docker scripts. Bug fixes, added
`--rm`
to the docker command,
*
Updated the docker scripts. Bug fixes, added
`--rm`
to the docker command,
etc.
etc.
*
Revised
`$PATH/autogrow4/autogrow/user_vars.py`
to correct minor typo
with sys.platform
checks.
*
Revised
`$PATH/autogrow4/autogrow/user_vars.py`
to correct minor typo
s with OS
checks.
*
Added
`$PATH/autogrow4/CHANGELOG.md`
.
*
Added
`$PATH/autogrow4/CHANGELOG.md`
.
4.
0.0
4.
0.0
...
...
autogrow/user_vars.py
View file @
4fefbeeb
...
@@ -1016,7 +1016,7 @@ def load_in_commandline_parameters(argv):
...
@@ -1016,7 +1016,7 @@ def load_in_commandline_parameters(argv):
PATH TO THE Custom DOCKING SCRIPT"
PATH TO THE Custom DOCKING SCRIPT"
)
)
if
vars
[
"dock_choice"
]
in
[
"VinaDocking"
,
"QuickVina2Docking"
]:
if
vars
[
"dock_choice"
]
in
[
"VinaDocking"
,
"QuickVina2Docking"
]:
if
sys
.
platform
==
"darwin"
:
if
sys
.
platform
.
lower
()
==
"darwin"
:
# Some MacOS require docking software to be notarized.
# Some MacOS require docking software to be notarized.
# This will require an internet signal
# This will require an internet signal
run_macos_notarization
(
vars
)
run_macos_notarization
(
vars
)
...
...
docker/autogrow_in_docker.py
View file @
4fefbeeb
...
@@ -82,10 +82,10 @@ def change_permissions_recursively(file_or_folder_path):
...
@@ -82,10 +82,10 @@ def change_permissions_recursively(file_or_folder_path):
if
os
.
name
==
"nt"
or
os
.
name
==
"ce"
:
if
os
.
name
==
"nt"
or
os
.
name
==
"ce"
:
# chmod and os.chmod do not apply to Windows OS so lets skip this.
# chmod and os.chmod do not apply to Windows OS so lets skip this.
pass
pass
elif
sys
.
platform
==
"linux"
or
sys
.
platform
==
"linux2"
:
elif
sys
.
platform
.
lower
()
in
[
"linux"
,
"linux2"
]
:
# chmod -R recursively open the permissions
# chmod -R recursively open the permissions
os
.
system
(
"chmod -R a+rwx {}"
.
format
(
file_or_folder_path
))
os
.
system
(
"chmod -R a+rwx {}"
.
format
(
file_or_folder_path
))
elif
sys
.
platform
==
"darwin"
:
elif
sys
.
platform
.
lower
()
==
"darwin"
:
# chmod -R recursively open the permissions
# chmod -R recursively open the permissions
os
.
system
(
"chmod -R a+rwx {}"
.
format
(
file_or_folder_path
))
os
.
system
(
"chmod -R a+rwx {}"
.
format
(
file_or_folder_path
))
else
:
else
:
...
...
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