Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
glslang
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
glslang
Commits
ef1f899b
Unverified
Commit
ef1f899b
authored
Jun 22, 2018
by
John Kessenich
Committed by
GitHub
Jun 22, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1413 from karl-lunarg/fix-update
script: Improve update sources script
parents
16cf5a5d
fa403b96
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
update_glslang_sources.py
update_glslang_sources.py
+3
-3
No files found.
update_glslang_sources.py
View file @
ef1f899b
...
...
@@ -66,7 +66,7 @@ def command_retval(cmd, directory):
p
=
subprocess
.
Popen
(
cmd
,
cwd
=
directory
,
stdout
=
subprocess
.
PIPE
)
(
stdout
,
_
)
=
p
.
communicate
()
p
.
communicate
()
return
p
.
returncode
...
...
@@ -95,8 +95,8 @@ class GoodCommit(object):
def
AddRemote
(
self
):
"""Add the remote 'known-good' if it does not exist."""
print
(
'Ignore "fatal" errors for missing known-good remote:'
)
if
command_retval
([
'git'
,
'remote'
,
'show'
,
'known-good'
],
self
.
subdir
)
!=
0
:
remotes
=
command_output
([
'git'
,
'remote'
],
self
.
subdir
)
.
splitlines
(
)
if
'known-good'
not
in
remotes
:
command_output
([
'git'
,
'remote'
,
'add'
,
'known-good'
,
self
.
GetUrl
()],
self
.
subdir
)
def
HasCommit
(
self
):
...
...
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