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
270e5337
Commit
270e5337
authored
Mar 23, 2016
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
newapkbuild: rename _builddir to builddir
the _builddir should never been used bu abuild due to the _ prefix.
parent
a1d23dc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
newapkbuild.in
newapkbuild.in
+6
-6
No files found.
newapkbuild.in
View file @
270e5337
...
...
@@ -197,15 +197,15 @@ source="$source"
__EOF__
abuild
-f
fetch unpack
# Figure out the
_
builddir
# Figure out the builddir
for
i
in
src/
*
;
do
if
[
-d
"
$i
"
]
;
then
sdir
=
$i
_
builddir
=
$(
echo
${
i
#*/
}
|
sed
"s/
$pv
/
\$
pkgver/g"
)
_
builddir
=
"
\"\$
srcdir
\"
/
$_builddir
"
builddir
=
$(
echo
${
i
#*/
}
|
sed
"s/
$pv
/
\$
pkgver/g"
)
builddir
=
"
\"\$
srcdir
\"
/
$_builddir
"
fi
done
echo
"
_builddir=
$_
builddir
"
>>
APKBUILD
echo
"
builddir=
$
builddir
"
>>
APKBUILD
# Check if its autotools
if
[
-z
"
$buildtype
"
]
;
then
...
...
@@ -227,7 +227,7 @@ __EOF__
# Create build() function
cat
>>
APKBUILD
<<
__EOF__
build() {
cd "
\$
_
builddir"
cd "
\$
builddir"
__EOF__
case
"
$buildtype
"
in
...
...
@@ -251,7 +251,7 @@ __EOF__
# Create package() function
cat
>>
APKBUILD
<<
__EOF__
package() {
cd "
\$
_
builddir"
cd "
\$
builddir"
__EOF__
case
"
$buildtype
"
in
...
...
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