mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
toolchain: handle white spaces in sysroot dir in copy_toolchain_sysroot
When changing permissions on all directories in the staging directory, after copying sysroot, paths that contain spaces break the call to chmod. With -print0 for find and -0 for xargs white spaces are correctly interpreted. Signed-off-by: Daniel Lang <d.lang@abatec.at> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
558d62490b
commit
235acd628a
@@ -150,7 +150,7 @@ copy_toolchain_sysroot = \
|
|||||||
if test -n "$${SUPPORT_LIB_DIR}" ; then \
|
if test -n "$${SUPPORT_LIB_DIR}" ; then \
|
||||||
cp -a $${SUPPORT_LIB_DIR}/* $(STAGING_DIR)/lib/ ; \
|
cp -a $${SUPPORT_LIB_DIR}/* $(STAGING_DIR)/lib/ ; \
|
||||||
fi ; \
|
fi ; \
|
||||||
find $(STAGING_DIR) -type d | xargs chmod 755
|
find $(STAGING_DIR) -type d -print0 | xargs -0 chmod 755
|
||||||
|
|
||||||
#
|
#
|
||||||
# Check the specified kernel headers version actually matches the
|
# Check the specified kernel headers version actually matches the
|
||||||
|
|||||||
Reference in New Issue
Block a user