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
abuild
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
24
Issues
24
List
Boards
Labels
Service Desk
Milestones
Merge Requests
17
Merge Requests
17
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
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
alpine
abuild
Commits
09e42ef6
Commit
09e42ef6
authored
Jul 13, 2015
by
Kaarle Ritvanen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apkbuild-gem-resolver: fix -u option
overlapping variable names
parent
feca0376
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
apkbuild-gem-resolver.in
apkbuild-gem-resolver.in
+4
-4
No files found.
apkbuild-gem-resolver.in
View file @
09e42ef6
...
...
@@ -326,13 +326,13 @@ end
testing
=
false
update
=
false
update
_files
=
false
OptionParser
.
new
do
|
opts
|
opts
.
on
(
'-t'
,
'--testing'
)
do
|
t
|
testing
=
t
end
opts
.
on
(
'-u'
,
'--update'
)
do
|
u
|
update
=
u
update
_files
=
u
end
end
.
parse
! ARGV
Package
.
initialize
testing
...
...
@@ -360,7 +360,7 @@ for pkg in update
nil
:
" (obsolete dependencies: #{obsolete.join ', '})"
puts
"#{pkg[:name]}-#{pkg[:version]}#{obs}"
if
update
if
update
_files
package
=
Package
.
get
(
pkg
[:
name
])
package
.
version
=
pkg
[:
version
]
for
dep
in
obsolete
...
...
@@ -369,6 +369,6 @@ for pkg in update
end
end
if
update
if
update
_files
Package
.
save
end
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