From 45ae1da7c0f1d8b21a2050ca3a845dcd498313a1 Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Sun, 17 May 2020 19:45:55 +0300 Subject: [PATCH] branding: Allow pulling persistdir from ENV values Closes #32 --- patches/branding/addpatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/branding/addpatch.py b/patches/branding/addpatch.py index 3f71ce16f..c5a60c99d 100644 --- a/patches/branding/addpatch.py +++ b/patches/branding/addpatch.py @@ -3,7 +3,7 @@ import os import sys fname = sys.argv[1] -persistdir = "/home/ave/distokrepos/versionlogs/" +persistdir = os.environ.get("DISTOK_VERSION_LOGS", "/root/distokrepos/versionlogs/") def counterup(branch="base"):