scripts: using GUILE_BINARY from configure

I.e., do not hard-code guile-2.2, it may be guile-3.0 instead.
This commit is contained in:
Dirk-Jan C. Binnema
2020-11-15 17:14:24 +02:00
parent c8b507f826
commit 7d6475758c

View File

@ -318,7 +318,7 @@ mu_script_guile_run (MuScriptInfo *msi, const char *muhome,
g_return_val_if_fail (muhome, FALSE);
argv = g_new0 (char*, 6);
argv[0] = g_strdup("guile2.2");
argv[0] = g_strdup(GUILE_BINARY);
argv[1] = g_strdup("-l");
if (access (mu_script_info_path (msi), R_OK) != 0) {