Skip to content

Commit 532b75c

Browse files
Devidas Jadhavhclee
authored andcommitted
exfatprogs: Parsing VER to get major number
Signed-off-by: evidas Jadhav <[email protected]>
1 parent 8179a24 commit 532b75c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis_get_mainline_kernel

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ if [ "z$VER" = "z" ]; then
2222
exit 1
2323
fi
2424

25-
wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-"$VER".tar.gz
25+
MVER=$(echo $VER | cut -d. -f1)
26+
27+
wget https://cdn.kernel.org/pub/linux/kernel/v"$MVER".x/linux-"$VER".tar.gz
2628
if [ $? -ne 0 ]; then
2729
echo "Could not download $VER kernel version"
2830
exit 1

0 commit comments

Comments
 (0)