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 --- extra/linux-zen/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extra/linux-zen/PKGBUILD') diff --git a/extra/linux-zen/PKGBUILD b/extra/linux-zen/PKGBUILD index 5baecf00..048fcdc2 100644 --- a/extra/linux-zen/PKGBUILD +++ b/extra/linux-zen/PKGBUILD @@ -28,7 +28,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