scripts: move dir_is_writeable.py to scripts/build

Move scripts needed by the build system and not designed to be run
individually or standalone into the build subfolder.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2022-07-11 10:54:54 -04:00 committed by Carles Cufí
parent c74d20e433
commit 967f9b437b
2 changed files with 1 additions and 1 deletions

View file

@ -62,7 +62,7 @@ function(find_appropriate_cache_directory dir)
set(test_user_dir ${env_dir}/${env_suffix_${env_var}})
execute_process(COMMAND ${PYTHON_EXECUTABLE}
${ZEPHYR_BASE}/scripts/dir_is_writeable.py ${test_user_dir}
${ZEPHYR_BASE}/scripts/build/dir_is_writeable.py ${test_user_dir}
RESULT_VARIABLE writable_result
)
if("${writable_result}" STREQUAL "0")