From e19eedef0969b67e07db335e488f1a9087f88c25 Mon Sep 17 00:00:00 2001 From: Andy Postnikov Date: Tue, 24 Oct 2023 04:10:55 +0200 Subject: [PATCH] community/kconfig5: modernize variables --- community/kconfig5/APKBUILD | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/community/kconfig5/APKBUILD b/community/kconfig5/APKBUILD index d1e6a4fcbeb..581392cda11 100644 --- a/community/kconfig5/APKBUILD +++ b/community/kconfig5/APKBUILD @@ -36,11 +36,14 @@ build() { } check() { - mkdir "$srcdir"/home - chmod 0700 "$srcdir"/home - export XDG_RUNTIME_DIR="$srcdir"/home - HOME="$srcdir"/home xvfb-run ctest --test-dir build --output-on-failure -E 'kconfig(core-(kconfigtest|kdesktopfiletest|test_kconf_update)|gui-kstandardshortcutwatchertest)' - rm -fr "$srcdir"/home + local _home="${srcdir:?}"/home + mkdir "$_home" + chmod 0700 "$_home" + XDG_RUNTIME_DIR="$_home" \ + HOME="$_home" \ + xvfb-run ctest --test-dir build --output-on-failure \ + -E 'kconfig(core-(kconfigtest|kdesktopfiletest|test_kconf_update)|gui-kstandardshortcutwatchertest)' + rm -fr "$_home" } package() {