diff options
Diffstat (limited to 'scripts/configure-qtcreator.sh')
-rwxr-xr-x | scripts/configure-qtcreator.sh | 2 |
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 | |||
85 | source $CONFIG | 85 | source $CONFIG |
86 | 86 | ||
87 | MKSPEC="devices/linux-oe-generic-g++" | 87 | MKSPEC="devices/linux-oe-generic-g++" |
88 | MKSPECPATH=$(find ${OECORE_TARGET_SYSROOT} -name $(basename ${MKSPEC})) | 88 | MKSPECPATH=$(find ${OECORE_TARGET_SYSROOT} -name $(basename ${MKSPEC}) 2>/dev/null || true) |
89 | if [ ! -d "${MKSPECPATH}" ]; then | 89 | if [ ! -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 |