Fixed kernel variable typo.

This commit is contained in:
Johny Mattsson 2017-10-02 13:09:46 +11:00 committed by parazyd
parent 4fc9a6278b
commit 30e79c841e
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ get-kernel-sources() {
notice "grabbing kernel sources"
if [[ $kernel = mainline ]]; then
if [[ $gitkernel = mainline ]]; then
clone-git "$linuxmainline" "$R/tmp/kernels/$device_name/${device_name}-linux"
else
clone-git "$gitkernel" "$R/tmp/kernels/$device_name/${device_name}-linux" "$gitbranch"