Skip to content
GitLab
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
5a3c28db
Commit
5a3c28db
authored
Nov 25, 2008
by
Natanael Copa
Browse files
use abuild_ver instead of myver to avoid clashes in APKBUILDs
parent
ef66c620
Changes
1
Show whitespace changes
Inline
Side-by-side
abuild
View file @
5a3c28db
...
...
@@ -8,7 +8,7 @@
# Depends on: busybox utilities, fakeroot,
#
my
ver
=
0.8.2
abuild_
ver
=
0.8.2
# read config
MAKEAPK_CONF
=
${
MAKEAPK_CONF
:-
/etc/abuild.conf
}
...
...
@@ -246,7 +246,7 @@ package_apk() {
local
builddate
=
$(
date
-u
"+%s"
)
local
size
=
$(
du
-sk
|
awk
'{print $1 * 1024}'
)
echo
"# Generated by
$(
basename
$0
)
$
my
ver
"
>
.PKGINFO
echo
"# Generated by
$(
basename
$0
)
$
abuild_
ver
"
>
.PKGINFO
if
[
-n
"
$FAKEROOTKEY
"
]
;
then
echo
"# using
$(
fakeroot
-v
)
"
>>
.PKGINFO
fi
...
...
@@ -425,7 +425,7 @@ builddeps() {
}
usage
()
{
echo
"
$(
basename
$0
)
$
my
ver
"
echo
"
$(
basename
$0
)
$
abuild_
ver
"
echo
"usage:
$0
[options] [cmd] ..."
echo
"Options:"
echo
" -h Show this help"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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