update: make $distdir not local

This commit is contained in:
Yingjie Wang 2025-03-15 10:07:21 -04:00
parent 5927e5aad3
commit d25be5bf66

2
leaf
View File

@ -319,7 +319,7 @@ leaf_update_environment() {
}
leaf_prepare_package() {
local distdir url sourcefile index _md5sum
local url sourcefile index _md5sum
distdir="${DIST_DIR}/${pkgname}-${pkgver}"
mkdir -pv "${distdir}"
pushd "${distdir}"