From 06f748ac6998a697d17cd38c8a7348518c71f486 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jochum=20D=C3=B6ring?= Date: Thu, 7 Jan 2021 07:21:42 +0100 Subject: [PATCH] added pkgrel to version detection --- src/linux-ck-autobuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/linux-ck-autobuild b/src/linux-ck-autobuild index e07bcc3..42b498d 100644 --- a/src/linux-ck-autobuild +++ b/src/linux-ck-autobuild @@ -1,6 +1,6 @@ #!/bin/bash # linux-ck-autobuild -VERSION=0.1.1 +VERSION=0.1.2 # Author: Jochum D, jooch (at) gmx (dot) com # License: GPL3 # About: This script will automatically build specified ck kernels @@ -92,7 +92,7 @@ function main_program { load_config check_build_dir . /etc/$program_name/subarches - latest_version=$(curl -s https://aur.archlinux.org/packages/linux-ck | grep -A 1 'pkgdetails" class="box' | grep -Po '\d.\d.\D.') + latest_version=$(curl -s https://aur.archlinux.org/packages/linux-ck | grep -A 1 'pkgdetails" class="box' | grep -Po '\d.\d.\D.\D.') sed -i '/^build().*/a MAKEFLAGS="'$makeflags'"' $BUILDDIR/linux-ck/PKGBUILD for element in "${SUBARCH[@]}"; do subarch_name="arch_$element"