(#9400 P1a) lib/functions/bsp/utils-bsp.sh: convert [ ] to [[ ]]
Replace POSIX `[ ]` with bash `[[ ]]` on one directory existence check. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
3e4de6c02b
commit
234f39b6ca
@ -24,7 +24,7 @@ copy_all_packages_files_for() {
|
||||
|
||||
for package_src_dir in ${PACKAGES_SEARCH_ROOT_ABSOLUTE_DIRS}; do
|
||||
local package_dirpath="${package_src_dir}/${package_name}"
|
||||
if [ -d "${package_dirpath}" ]; then
|
||||
if [[ -d "${package_dirpath}" ]]; then
|
||||
display_alert "Adding found files" "${package_dirpath} for '${package_name}'" "info"
|
||||
run_host_command_logged cp -rv "${package_dirpath}/"* "${destination}/"
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user