1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04: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
fi
mkdir -p "$pkgdirbase"
chmod a-srwx "$pkgdirbase"
chmod a-srw "$pkgdirbase"
cd_safe "$startdir"
if (( ! REPKG )); then