makepkg: do not chmod $BUILDDIR itself after checking for its existence
In commit d8717a6a96
the write permission
checks were refactored. Initially we intended to drop this chmod in the
process, but due to some confusion about whether it was needed, I ended
up submitting patches both to preserve and to remove it... but it's not
needed after all. We do it on the individual $srcdir/$pkgdir, later on.
Then, we used the wrong version, which causes unnecessary restrictions.
See FS#58790
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
870d4c8fdd
commit
737596f038
1 changed files with 0 additions and 1 deletions
|
@ -1371,7 +1371,6 @@ if ! ensure_writable_dir "BUILDDIR" "$BUILDDIR"; then
|
|||
plain "$(gettext "Aborting...")"
|
||||
exit $E_FS_PERMISSIONS
|
||||
fi
|
||||
chmod a-s "$BUILDDIR"
|
||||
|
||||
if (( ! (NOBUILD || GENINTEG) )) && ! ensure_writable_dir "PKGDEST" "$PKGDEST"; then
|
||||
plain "$(gettext "Aborting...")"
|
||||
|
|
Loading…
Add table
Reference in a new issue