mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-21 06:11:31 +00:00
Fix grabbing u-boot files from subdirectories
This commit is contained in:
parent
89ab53bea5
commit
0badc32d90
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ compile_uboot()
|
|||
if [[ $f == *:* ]]; then
|
||||
local f_dst=$(cut -d':' -f2 <<< $f)
|
||||
else
|
||||
local f_dst=$f_src # unsetting will work too
|
||||
local f_dst=$(basename $f_src)
|
||||
fi
|
||||
[[ ! -f $f_src ]] && exit_with_error "U-boot file not found" "$(basename $f_src)"
|
||||
cp $f_src $uboot_name/usr/lib/$uboot_name/$f_dst
|
||||
|
|
Loading…
Add table
Reference in a new issue