use abuild_ver instead of myver to avoid clashes in APKBUILDs

This commit is contained in:
Natanael Copa 2008-11-25 10:42:07 +00:00
parent ef66c6203b
commit 5a3c28db9d
1 changed files with 3 additions and 3 deletions

6
abuild
View File

@ -8,7 +8,7 @@
# Depends on: busybox utilities, fakeroot,
#
myver=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) $myver" >.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) $myver"
echo "$(basename $0) $abuild_ver"
echo "usage: $0 [options] [cmd] ..."
echo "Options:"
echo " -h Show this help"