From 445aa3b52cfcd5630ec10d2ae2c8eeffa2b5c5de Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 19 Jul 2015 09:50:40 -0400 Subject: dont remove x bit when marking pkgdir RO f170a94c137d355 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 --- scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 2613b314..8b6557ec 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -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 -- cgit v1.2.3-24-g4f1b