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
gstreamer-rs-sys
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
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GStreamer
gstreamer-rs-sys
Commits
8e520903
Commit
8e520903
authored
Jun 18, 2019
by
Sebastian Dröge
🍵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix generator script to actually handle the y/N question as advertised
parent
8a907825
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
generator.py
generator.py
+2
-2
No files found.
generator.py
View file @
8e520903
...
...
@@ -22,7 +22,7 @@ def update_workspace():
with
open
(
'Cargo.toml'
,
'w'
)
as
f
:
f
.
write
(
''
.
join
(
old_lines
))
return
success
if
not
isfile
(
'./gir/src'
):
need_rebuild
=
True
...
...
@@ -36,7 +36,7 @@ if sys.version_info[0] < 3:
else
:
line
=
input
(
question
)
line
=
line
.
strip
()
if
line
.
lower
()
==
'
n'
or
len
(
line
)
==
0
:
if
line
.
lower
()
==
'
y'
:
need_rebuild
=
True
print
(
'=> Updating gir submodule...'
)
call
([
'bash'
,
'-c'
,
'cd gir && git reset --hard HEAD && git pull -f origin master'
])
...
...
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