Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
alpine
abuild
Commits
73918f52
Commit
73918f52
authored
Feb 22, 2013
by
Natanael Copa
Browse files
buildrepo: only consider rebuilding packages that has proper arch set
parent
b1b09318
Changes
1
Hide whitespace changes
Inline
Side-by-side
buildrepo.in
View file @
73918f52
...
...
@@ -47,6 +47,16 @@ all_exist() {
return
0
}
is_in
()
{
local
needle
=
"
$1
"
shift
while
[
$#
-gt
0
]
;
do
[
"
$needle
"
=
"
$1
"
]
&&
return
0
shift
done
return
1
}
list_needbuild
()
{
local
repo
=
"
$1
"
i
=
...
...
@@ -63,8 +73,13 @@ list_needbuild() {
pkgver
=
pkgrel
=
subpackages
=
arch
=
.
./APKBUILD
if
!
is_in all
$arch
&&
!
is_in
$CARCH
$arch
;
then
continue
fi
pkgs
=
for
subpkg
in
$pkgname
$subpackages
;
do
pkgfile
=
${
subpkg
%
:
*
}
-
$pkgver
-r
$pkgrel
.apk
...
...
Write
Preview
Supports
Markdown
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