mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-12 04:15:06 -05:00
dont remove x bit when marking pkgdir RO
f170a94c13
potentially causes $pkgdirbase/$pkg to be undeleteable
with -R or -C if a previous build was interrupted. We simply can't
traverse to this directory, and rm blows up.
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
bbab90836b
commit
445aa3b52c
@ -2242,7 +2242,7 @@ else
|
|||||||
unset pkg
|
unset pkg
|
||||||
fi
|
fi
|
||||||
mkdir -p "$pkgdirbase"
|
mkdir -p "$pkgdirbase"
|
||||||
chmod a-srwx "$pkgdirbase"
|
chmod a-srw "$pkgdirbase"
|
||||||
cd_safe "$startdir"
|
cd_safe "$startdir"
|
||||||
|
|
||||||
if (( ! REPKG )); then
|
if (( ! REPKG )); then
|
||||||
|
Loading…
Reference in New Issue
Block a user