mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-06-15 22:08:16 +00:00
Use 'chmod a-x' instead of 'chmod -x'
There is a subtle difference when executable bit is a part of the umask. And at least some versions (Debian/stretch) fail if the resulting mode would've been different if not for the umask setting. Fixes #998. Although, with such chmods/umasks it is likely that some package installation will break anyway. But I'll leave it until somebody complains. Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
@ -223,7 +223,7 @@ do_binutils_backend() {
|
||||
sed -r -e "s/@@DEFAULT_LD@@/${CT_BINUTILS_LINKER_DEFAULT}/" \
|
||||
"${CT_LIB_DIR}/scripts/build/binutils/binutils-ld.in" \
|
||||
>"${prefix}/bin/${CT_TARGET}-ld"
|
||||
chmod +x "${prefix}/bin/${CT_TARGET}-ld"
|
||||
chmod a+x "${prefix}/bin/${CT_TARGET}-ld"
|
||||
cp -a "${prefix}/bin/${CT_TARGET}-ld" \
|
||||
"${prefix}/${CT_TARGET}/bin/ld"
|
||||
|
||||
|
Reference in New Issue
Block a user