Skip to content

Commit

Permalink
exfatprogs: Parsing VER to get major number
Browse files Browse the repository at this point in the history
Signed-off-by: evidas Jadhav <[email protected]>
  • Loading branch information
Devidas Jadhav authored and hclee committed Jul 28, 2020
1 parent 8179a24 commit 532b75c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis_get_mainline_kernel
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ if [ "z$VER" = "z" ]; then
exit 1
fi

wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-"$VER".tar.gz
MVER=$(echo $VER | cut -d. -f1)

wget https://cdn.kernel.org/pub/linux/kernel/v"$MVER".x/linux-"$VER".tar.gz
if [ $? -ne 0 ]; then
echo "Could not download $VER kernel version"
exit 1
Expand Down

0 comments on commit 532b75c

Please sign in to comment.