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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue