fixup copying

This commit is contained in:
parazyd 2017-03-18 15:03:43 +01:00
parent 6ccab2d2c2
commit d1a6c56bd5
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
2 changed files with 5 additions and 5 deletions

View File

@ -89,7 +89,7 @@ clone-git() {
popd popd
else else
[[ -n $gitbr ]] && gitbr="-b $gitbr" [[ -n $gitbr ]] && gitbr="-b $gitbr"
git clone --depth 1 "$giturl" ${=gitbr} "$clonepath" git clone --depth 1 "$giturl" ${gitbr} "$clonepath"
fi fi
} }
@ -99,7 +99,7 @@ copy-kernel-config() {
ckreq || return 1 ckreq || return 1
notice "copying available kernel config" notice "copying available kernel config"
${=cp} $R/boards/kernel-configs/${device_name}.config \ cp -f $R/boards/kernel-configs/${device_name}.config \
$R/tmp/kernels/$device_name/${device_name}-linux/.config $R/tmp/kernels/$device_name/${device_name}-linux/.config
} }
@ -109,9 +109,9 @@ copy-root-overlay() {
ckreq || return 1 ckreq || return 1
[[ -d $R/extra/generic-root ]] && \ [[ -d $R/extra/generic-root ]] && \
${=sudo} ${=cp} -rfl $R/extra/generic-root/* $strapdir sudo cp -rfl $R/extra/generic-root/* $strapdir
[[ -d $R/extra/$device_name ]] && \ [[ -d $R/extra/$device_name ]] && \
${=sudo} ${=cp} -rfL $R/extra/$device_name/* $strapdir sudo cp -rfL $R/extra/$device_name/* $strapdir
} }
postbuild-clean() { postbuild-clean() {

@ -1 +1 @@
Subproject commit 49560178fde7901f4857f916da639ae14cce9355 Subproject commit 1aaa06c09f676f267f42a92e209d11166ecc78c6