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
54dbf5f3
Commit
54dbf5f3
authored
Mar 11, 2018
by
Sören Tempel
Browse files
abuild: set arch for -openrc subpackage to noarch
parent
f5eb69a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
abuild.in
View file @
54dbf5f3
...
@@ -499,7 +499,7 @@ subpkg_set() {
...
@@ -499,7 +499,7 @@ subpkg_set() {
subpkgarch
=
${
_splitarch
#*
:
}
subpkgarch
=
${
_splitarch
#*
:
}
if
[
"
$subpkgarch
"
=
"
$_splitarch
"
-o
-z
"
$subpkgarch
"
]
;
then
if
[
"
$subpkgarch
"
=
"
$_splitarch
"
-o
-z
"
$subpkgarch
"
]
;
then
case
"
$subpkgname
"
in
case
"
$subpkgname
"
in
*
-doc
|
*
-lang
|
*
-lang-
*
)
subpkgarch
=
"noarch"
;;
*
-doc
|
*
-openrc
|
*
-lang
|
*
-lang-
*
)
subpkgarch
=
"noarch"
;;
*
)
subpkgarch
=
"
$pkgarch
"
;;
*
)
subpkgarch
=
"
$pkgarch
"
;;
esac
esac
fi
fi
...
...
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