From: Andrey Albershteyn Date: Fri, 4 Oct 2024 11:57:03 +0000 (+0200) Subject: xfsprogs: fix permissions on files installed by libtoolize X-Git-Tag: v6.11.0~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6b32423addd2f28797a149101622a9b9ec4929d3;p=thirdparty%2Fxfsprogs-dev.git xfsprogs: fix permissions on files installed by libtoolize Libtoolize installs some set of AUX files from its system package. Not all distributions have the same permissions set on these files. For example, read-only libtoolize system package will copy those files without write permissions. This causes build to fail as next line copies ./include/install-sh over ./install-sh which is not writable. Fix this by setting permission explicitly on files copied by libtoolize. Reviewed-by: Darrick J. Wong Reviewed-by: Christoph Hellwig Signed-off-by: Andrey Albershteyn --- diff --git a/Makefile b/Makefile index 4e768526..c40728d9 100644 --- a/Makefile +++ b/Makefile @@ -109,6 +109,9 @@ endif configure: configure.ac libtoolize -c -i -f + chmod 755 config.guess config.sub install-sh + chmod 644 ltmain.sh m4/libtool.m4 m4/ltoptions.m4 m4/ltsugar.m4 \ + m4/ltversion.m4 m4/lt~obsolete.m4 cp include/install-sh . aclocal -I m4 autoconf