summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2008-11-25 10:42:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2008-11-25 10:42:07 +0000
commit5a3c28db9de7adcd5a78895cc2208b9b7103802d (patch)
treeb4478c402ffef337d102b71f3150b6f11ea39af1
parentef66c6203b117f2769a23c5725f523bf04dfd223 (diff)
downloadabuild-5a3c28db9de7adcd5a78895cc2208b9b7103802d.tar.gz
abuild-5a3c28db9de7adcd5a78895cc2208b9b7103802d.tar.bz2
abuild-5a3c28db9de7adcd5a78895cc2208b9b7103802d.tar.xz
abuild-5a3c28db9de7adcd5a78895cc2208b9b7103802d.zip
use abuild_ver instead of myver to avoid clashes in APKBUILDs
-rwxr-xr-xabuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/abuild b/abuild
index 8600a62..1bda374 100755
--- a/abuild
+++ b/abuild
@@ -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"