guile: path updates for 2.2

This commit is contained in:
Dirk-Jan C. Binnema
2020-04-19 23:57:02 +03:00
parent 07ce6b9615
commit 06d3deb4cc
5 changed files with 9 additions and 6 deletions

View File

@ -31,10 +31,13 @@
#include "mu-cmd.h"
#include "mu-script.h"
#include "mu-runtime.h"
#include "utils/mu-util.h"
#include "utils/mu-str.h"
#define MU_GUILE_EXT ".scm"
#define MU_GUILE_DESCR_PREFIX ";; INFO: "
@ -192,7 +195,8 @@ mu_cmd_script (MuConfig *opts, GError **err)
}
/* do it! */
mu_script_guile_run (msi, opts->muhome, opts->script_params, err);
mu_script_guile_run (msi, mu_runtime_path(MU_RUNTIME_PATH_CACHE),
opts->script_params, err);
leave:
/* this won't be reached, unless there is some error */
mu_script_info_list_destroy (scripts);

View File

@ -83,7 +83,6 @@ set_group_mu_defaults (void)
{
/* If muhome is not set, we use the XDG Base Directory Specification
* locations. */
if (MU_CONFIG.muhome)
expand_dir(MU_CONFIG.muhome);