Commit 78d392b3 authored by Timo Teräs's avatar Timo Teräs

update-kernel: don't use local in non-function scope

parent 0b7b6a10
......@@ -205,7 +205,6 @@ extra_pkgs() {
_apk add --initdb --update-cache
if [ "$BUILDDIR" ]; then
local _install
case "$ARCH" in
arm*|aarch64*) _install="zinstall dtbs_install" ;;
*) _install="install" ;;
......@@ -264,8 +263,7 @@ fi
mv $STAGING/* "$DESTDIR"
if [ -d "$DTBDIR" ]; then
local _opwd=$PWD
local _dtb
_opwd=$PWD
case "$FLAVOR" in
rpi*) _dtb="$DESTDIR" ;;
*) _dtb="$DESTDIR/dtbs" ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment