From 1dae151be60b236e21e6361118784127c087102f Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Sep 29 2022 08:35:55 +0000 Subject: scripts/CKC: store local branches with $USER prefix So that on shared machines, it can be overwritten when expires. --- diff --git a/scripts/check-kernel-commit b/scripts/check-kernel-commit index ef6ed96..13dc675 100755 --- a/scripts/check-kernel-commit +++ b/scripts/check-kernel-commit @@ -14,7 +14,7 @@ usage() fetch_branches() { - local CACHED_BRANCHES=/tmp/branches.conf + local CACHED_BRANCHES="/tmp/$USER-branches.conf" local URL="https://kerncvs.suse.de/branches.conf" local EXPIRE=7 branches=$CACHED_BRANCHES