diff --git a/sdk_lib/enter_chroot.sh b/sdk_lib/enter_chroot.sh index bed09a01d8..f06e4f5d03 100755 --- a/sdk_lib/enter_chroot.sh +++ b/sdk_lib/enter_chroot.sh @@ -166,7 +166,7 @@ env_sync_proc() { while true; do # Sync files - for file in ${sync_files}; do + for file in "${sync_files[@]}"; do if ! cmp /${file} ${FLAGS_chroot}/${file} &> /dev/null; then cp -f /${file} ${FLAGS_chroot}/${file} fi