commit:     a4ff177a32209a92ac48cb17e70b1546d305628d
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  3 06:23:52 2017 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun Sep  3 06:28:15 2017 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=a4ff177a

gen_funcs: make per-version cachedir

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 gen_funcs.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gen_funcs.sh b/gen_funcs.sh
index 9e8cb1c..656ddef 100755
--- a/gen_funcs.sh
+++ b/gen_funcs.sh
@@ -239,7 +239,7 @@ isBootRO()
 setup_cache_dir()
 {
 
-[ ! -d "${CACHE_DIR}" ] && mkdir -p "${CACHE_DIR}/${GK_V}"
+[ ! -d "${CACHE_DIR}/${GK_V}" ] && mkdir -p "${CACHE_DIR}/${GK_V}"
 
 if [ "${CLEAR_CACHE_DIR}" == 'yes' ]
 then

Reply via email to