mirror of
https://github.com/openharmony/drivers_adapter_khdf_linux.git
synced 2026-07-01 02:45:33 -04:00
fix: compatible directory does not exist when patch hdf
Signed-off-by: yuanbo <yuanbo@huawei.com>
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ function copy_external_compents()
|
||||
do
|
||||
dst_dir=${cp_list[$(expr $i + 1)]}/${cp_list[$i]##*/}
|
||||
mkdir -p $dst_dir
|
||||
cp -arfL ${cp_list[$i]}/* $dst_dir/
|
||||
[ -d ${cp_list[$i]}/ ] && cp -arfL ${cp_list[$i]}/* $dst_dir/
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user