summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qt.io>2017-06-28 11:08:33 +0900
committerTasuku Suzuki <tasuku.suzuki@qt.io>2017-06-28 07:44:18 +0000
commit6e45763c3292e7e0276868e7ee9e439d818beb2a (patch)
tree95c6e0a567ba6a67ae3a548159207820ff8dd9e8 /scripts
parenta38dee3c2e75057034a1eea88b309df3abd5bfe5 (diff)
downloadmeta-boot2qt-6e45763c3292e7e0276868e7ee9e439d818beb2a.tar.gz
Fix find fails with permission denied
configure-qtcreator.sh failed with errors: find: ‘/opt/b2qt/2.2.1/sysroots/aarch64-poky-linux/var/cache/cups’: Permission denied find: ‘/opt/b2qt/2.2.1/sysroots/aarch64-poky-linux/var/spool/cups’: Permission denied find: ‘/opt/b2qt/2.2.1/sysroots/aarch64-poky-linux/home/root’: Permission denied find: ‘/opt/b2qt/2.2.1/sysroots/aarch64-poky-linux/etc/cups/ssl’: Permission denied Change-Id: I4e8098227852b8d77b4b57a68d9e0b95165cb4fe Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/configure-qtcreator.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/configure-qtcreator.sh b/scripts/configure-qtcreator.sh
index d6e9c07..7386f70 100755
--- a/scripts/configure-qtcreator.sh
+++ b/scripts/configure-qtcreator.sh
@@ -85,7 +85,7 @@ fi
85source $CONFIG 85source $CONFIG
86 86
87MKSPEC="devices/linux-oe-generic-g++" 87MKSPEC="devices/linux-oe-generic-g++"
88MKSPECPATH=$(find ${OECORE_TARGET_SYSROOT} -name $(basename ${MKSPEC})) 88MKSPECPATH=$(find ${OECORE_TARGET_SYSROOT} -name $(basename ${MKSPEC}) 2>/dev/null || true)
89if [ ! -d "${MKSPECPATH}" ]; then 89if [ ! -d "${MKSPECPATH}" ]; then
90 echo "Error: could not find mkspec ${MKSPEC} from the toolchain" 90 echo "Error: could not find mkspec ${MKSPEC} from the toolchain"
91 exit 1 91 exit 1