summaryrefslogtreecommitdiff
path: root/rpmio/rpmfileutil.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2023-03-30 11:38:04 +0300
committerPanu Matilainen <pmatilai@redhat.com>2023-03-30 11:52:59 +0300
commit97c9d8903c4166b4c2d37e5d67d193f2262e089b (patch)
tree815c1aeba1583365503ec9ad4d959cd0ed74ebe8 /rpmio/rpmfileutil.c
parenta2b49273aa0935dcb88743c216925fc4d42723a8 (diff)
downloadrpm-97c9d8903c4166b4c2d37e5d67d193f2262e089b.tar.gz
Call RPM_CONFIGDIR just that consistently
For whatever historical reasons RPMCONFIGDIR was used in automake whereas the environment variable is RPM_CONFIGDIR. Just call it that everywhere.
Diffstat (limited to 'rpmio/rpmfileutil.c')
-rw-r--r--rpmio/rpmfileutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmio/rpmfileutil.c b/rpmio/rpmfileutil.c
index c4350b2f6..7104b271f 100644
--- a/rpmio/rpmfileutil.c
+++ b/rpmio/rpmfileutil.c
@@ -482,7 +482,7 @@ int rpmMkdirs(const char *root, const char *pathstr)
static void setConfigDir(void)
{
char *rpmenv = getenv("RPM_CONFIGDIR");
- rpm_config_dir = rpmenv ? xstrdup(rpmenv) : RPMCONFIGDIR;
+ rpm_config_dir = rpmenv ? xstrdup(rpmenv) : RPM_CONFIGDIR;
}
const char *rpmConfigDir(void)