Safety check in droid4 sed call.

This commit is contained in:
parazyd 2020-06-22 11:06:40 +02:00
parent 2084a179f6
commit 4315f4ccee
No known key found for this signature in database
GPG Key ID: 6B636BF0493EE747
2 changed files with 5 additions and 2 deletions

View File

@ -59,7 +59,10 @@ postbuild() {
notice "executing $device_name postbuild"
copy-root-overlay
sudo sed -e "s/@release@/${release}/" -i "$strapdir/boot/boot/boot.cfg"
if [[ -e "$strapdir/boot/boot/boot.cfg" ]]; then
sudo sed -e "s/@release@/${release}/" -i "$strapdir/boot/boot/boot.cfg"
fi
}
build_kernel_${arch}() {

@ -1 +1 @@
Subproject commit 7108866f0d6c95c93e22ec758582a5516d2cc6a6
Subproject commit 58862d1cede3261dbd239fd33c09a71864bdf539