1
0
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:
Dave Reisner 2015-07-19 09:50:40 -04:00 committed by Allan McRae
parent bbab90836b
commit 445aa3b52c

View File

@ -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