wetekdvb: fix an issue when the device variable always evaluates to WeTek_Play_2

This commit is contained in:
Alex Deryskyba 2018-03-02 22:13:13 +02:00
parent 7bf56d8b52
commit 84d47eba8f

View File

@ -33,7 +33,7 @@ PKG_TOOLCHAIN="manual"
makeinstall_target() {
device=${DEVICE:-$PROJECT}
[ $device="S905" ] && device=WeTek_Play_2
[ $device = "S905" ] && device=WeTek_Play_2
for overlay_dir in driver/$device/*/; do
overlay_dir=`basename $overlay_dir`
mkdir -p $INSTALL/$(get_full_module_dir $overlay_dir)/$PKG_NAME