14 lines
516 B
Text
14 lines
516 B
Text
|
Consider MODERL_VERSION
|
||
|
Index: compiler-cli/src/shell.rs
|
||
|
--- compiler-cli/src/shell.rs.orig
|
||
|
+++ compiler-cli/src/shell.rs
|
||
|
@@ -22,7 +22,7 @@ pub fn command() -> Result<(), Error> {
|
||
|
ctrlc::set_handler(move || {}).expect("Error setting Ctrl-C handler");
|
||
|
|
||
|
// Prepare the Erlang shell command
|
||
|
- let mut command = Command::new("erl");
|
||
|
+ let mut command = Command::new("erl${MODERL_VERSION}");
|
||
|
|
||
|
// Print character lists as lists
|
||
|
let _ = command.arg("-stdlib").arg("shell_strings").arg("false");
|