aboutsummaryrefslogtreecommitdiff
path: root/ge.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-08-29 09:26:14 +0000
committerOmar Polo <op@omarpolo.com>2023-08-29 09:26:14 +0000
commita6d07f09e008431d8c257f9432c0193351951295 (patch)
treefdf4fb34b52f474723e94a588981b082979dd1b5 /ge.c
parentf31289a8acc233e8a92029dcfca0eb07ac11e39b (diff)
gemexp: save certs to $XDG_DATA_HOME/gemexp, not /gmid
Diffstat (limited to 'ge.c')
-rw-r--r--ge.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ge.c b/ge.c
index 36fefea..b8f262f 100644
--- a/ge.c
+++ b/ge.c
@@ -148,7 +148,7 @@ mkdirs(const char *path, mode_t mode)
fatal("can't mkdir %s", path);
}
-/* $XDG_DATA_HOME/gmid */
+/* $XDG_DATA_HOME/gemexp */
char *
data_dir(void)
{
@@ -158,10 +158,10 @@ data_dir(void)
if ((xdg = getenv("XDG_DATA_HOME")) == NULL) {
if ((home = getenv("HOME")) == NULL)
fatalx("XDG_DATA_HOME and HOME both empty");
- if (asprintf(&t, "%s/.local/share/gmid", home) == -1)
+ if (asprintf(&t, "%s/.local/share/gemexp", home) == -1)
fatalx("asprintf");
} else {
- if (asprintf(&t, "%s/gmid", xdg) == -1)
+ if (asprintf(&t, "%s/gemexp", xdg) == -1)
fatal("asprintf");
}