diff options
author | Omar Polo <op@omarpolo.com> | 2023-08-29 09:26:14 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-08-29 09:26:14 +0000 |
commit | a6d07f09e008431d8c257f9432c0193351951295 (patch) | |
tree | fdf4fb34b52f474723e94a588981b082979dd1b5 /ge.c | |
parent | f31289a8acc233e8a92029dcfca0eb07ac11e39b (diff) |
gemexp: save certs to $XDG_DATA_HOME/gemexp, not /gmid
Diffstat (limited to 'ge.c')
-rw-r--r-- | ge.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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"); } |