Commit 5a3c28db authored by Natanael Copa's avatar Natanael Copa
Browse files

use abuild_ver instead of myver to avoid clashes in APKBUILDs

parent ef66c620
...@@ -8,7 +8,7 @@ ...@@ -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() { ...@@ -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() { ...@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment