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:
@ -318,7 +318,7 @@ mu_script_guile_run (MuScriptInfo *msi, const char *muhome,
|
|||||||
g_return_val_if_fail (muhome, FALSE);
|
g_return_val_if_fail (muhome, FALSE);
|
||||||
|
|
||||||
argv = g_new0 (char*, 6);
|
argv = g_new0 (char*, 6);
|
||||||
argv[0] = g_strdup("guile2.2");
|
argv[0] = g_strdup(GUILE_BINARY);
|
||||||
argv[1] = g_strdup("-l");
|
argv[1] = g_strdup("-l");
|
||||||
|
|
||||||
if (access (mu_script_info_path (msi), R_OK) != 0) {
|
if (access (mu_script_info_path (msi), R_OK) != 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user