summaryrefslogtreecommitdiff
path: root/src/lib/conf.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/conf.sh.in')
-rw-r--r--src/lib/conf.sh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/conf.sh.in b/src/lib/conf.sh.in
index 63d5cf9..30469ca 100644
--- a/src/lib/conf.sh.in
+++ b/src/lib/conf.sh.in
@@ -239,4 +239,5 @@ load_PKGBUILD() {
unset_PKGBUILD
CARCH="$(get_var makepkg CARCH "`uname -m`")"
. "$file"
+ pkgbase=${pkgbase:-${pkgname[0]}}
}