makepkg: Make pkgdir a local
Causes it to be reset (to $pkgdirbase/$pkgbase) between subpackages. This shouldn't be visible. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
2f15921230
commit
c5c7fc7f4a
1 changed files with 2 additions and 2 deletions
|
@ -739,7 +739,7 @@ create_debug_package() {
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pkgdir="$pkgdirbase/$pkgbase-@DEBUGSUFFIX@"
|
local pkgdir="$pkgdirbase/$pkgbase-@DEBUGSUFFIX@"
|
||||||
|
|
||||||
# check if we have any debug symbols to package
|
# check if we have any debug symbols to package
|
||||||
if dir_is_empty "$pkgdir/usr/lib/debug"; then
|
if dir_is_empty "$pkgdir/usr/lib/debug"; then
|
||||||
|
@ -923,7 +923,7 @@ restore_package_variables() {
|
||||||
}
|
}
|
||||||
|
|
||||||
run_single_packaging() {
|
run_single_packaging() {
|
||||||
pkgdir="$pkgdirbase/$pkgname"
|
local pkgdir="$pkgdirbase/$pkgname"
|
||||||
mkdir "$pkgdir"
|
mkdir "$pkgdir"
|
||||||
if [[ -n $1 ]] || (( PKGFUNC )); then
|
if [[ -n $1 ]] || (( PKGFUNC )); then
|
||||||
run_package $1
|
run_package $1
|
||||||
|
|
Loading…
Add table
Reference in a new issue