From 7348855ce72abfb3ff6320f1841ebcdcccc6b734 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 28 Sep 2022 06:25:00 +0200 Subject: _get_gcc_version_from_config(): fix variable name --- core/linux/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/linux') diff --git a/core/linux/PKGBUILD b/core/linux/PKGBUILD index 6d1b6326..b5a23597 100644 --- a/core/linux/PKGBUILD +++ b/core/linux/PKGBUILD @@ -42,7 +42,7 @@ _get_gcc_version_from_config() { ' else for _config_file in "$srcdir/$_srcname/.config" "$srcdir/config" "${srcdir%/*}/config"; do - [ -f "$file" ] && break + [ -f "$_config_file" ] && break done sed ' s/^CONFIG_CC_VERSION_TEXT="gcc (GCC) \([0-9.]\+\)"$/\1/ -- cgit v1.2.3-70-g09d2