summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.am
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2013-02-02 03:13:41 +0100
committerAllan McRae <allan@archlinux.org>2013-02-07 01:48:11 +0100
commitf170a94c137d355cfebb7d1623b685f34a09081b (patch)
treebd514ab1c8894b9170b046a0c403d30947a53ef6 /scripts/Makefile.am
parent274c3890b07bdb6faae7bbbd7535f73c26565f24 (diff)
downloadpacman-f170a94c137d355cfebb7d1623b685f34a09081b.tar.gz
pacman-f170a94c137d355cfebb7d1623b685f34a09081b.tar.xz
makepkg: make $pkgdir non-accessible during build()
The idea of having separate build() and package() functions is that build() is run as a normal uses and package() as (fake)root. Any files placed in $pkgdir during build() can have the wrong permissions. Restrict access to $pkgdir during build() - unless there is no package() function. Also, set $pkgdir to something "useful" during build(). For split packages, this uses "<path>/pkg/$pkgbase" because it is not obvious which $pkgdir is being referred to. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/Makefile.am')
0 files changed, 0 insertions, 0 deletions