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

6
abuild
View File

@ -8,7 +8,7 @@
# Depends on: busybox utilities, fakeroot, # Depends on: busybox utilities, fakeroot,
# #
myver=0.8.2 abuild_ver=0.8.2
# read config # read config
MAKEAPK_CONF=${MAKEAPK_CONF:-/etc/abuild.conf} MAKEAPK_CONF=${MAKEAPK_CONF:-/etc/abuild.conf}
@ -246,7 +246,7 @@ package_apk() {
local builddate=$(date -u "+%s") local builddate=$(date -u "+%s")
local size=$(du -sk | awk '{print $1 * 1024}') 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 if [ -n "$FAKEROOTKEY" ]; then
echo "# using $(fakeroot -v)" >> .PKGINFO echo "# using $(fakeroot -v)" >> .PKGINFO
fi fi
@ -425,7 +425,7 @@ builddeps() {
} }
usage() { usage() {
echo "$(basename $0) $myver" echo "$(basename $0) $abuild_ver"
echo "usage: $0 [options] [cmd] ..." echo "usage: $0 [options] [cmd] ..."
echo "Options:" echo "Options:"
echo " -h Show this help" echo " -h Show this help"