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
4f37c8ef
Commit
4f37c8ef
authored
Aug 20, 2016
by
Jakub Jirutka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
abuild: set default builddir when not defined in APKBUILD
parent
35077b43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
abuild.in
abuild.in
+3
-2
No files found.
abuild.in
View file @
4f37c8ef
...
...
@@ -568,8 +568,7 @@ default_prepare() {
if
! have_patches; then
return
0
fi
cd
"${builddir:-$srcdir/$pkgname-$pkgver}"
\
||
{
error
"Is \$builddir set correctly?"
;
return
1
;
}
cd
"$builddir"
||
{
error
"Is \$builddir set correctly?"
;
return
1
;
}
for
i
in
$
source
;
do
case
$
i
in
*.
patch
)
...
...
@@ -2239,6 +2238,8 @@ export CC
cd
"$startdir"
||
die
.
"$APKBUILD"
builddir
=${
builddir
:-
"$srcdir/$pkgname-$pkgver"
}
#
If
REPODEST
is
set
then
it
will
override
the
PKGDEST
if
[
-
z
"$REPODEST"
];
then
warning
"REPODEST is not set and is now required. Defaulting to ~/packages"
...
...
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