summaryrefslogtreecommitdiff
path: root/src/lib/conf.sh.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-05-01 17:22:26 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-05-04 14:25:46 -0400
commitb245def72cd67e6475651b12e3313d8011b128bc (patch)
treefca8943067ea57909f9e95a91d4141606684ce3b /src/lib/conf.sh.in
parent11688ffd4f9fa20aa8f01e1e50d9a979c6c92768 (diff)
bugfix [2/2]: toru-path
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]}}
}