summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-13 12:05:54 -0300
committerpommicket <pommicket@gmail.com>2023-08-13 12:05:54 -0300
commit598d72c0674bb059c0f38f03c4851bcc61e5852d (patch)
treeae01311a6bdf872120b9787d44746ab9cd95db14 /command.c
parentdbf441cdc74245c5a5f567ae0165146cd74c3b92 (diff)
various little changes, remove calls to change_directory
Diffstat (limited to 'command.c')
-rw-r--r--command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c
index 05b36cc..b5d2f5d 100644
--- a/command.c
+++ b/command.c
@@ -653,7 +653,7 @@ void command_execute_ex(Ted *ted, Command c, const CommandArgument *full_argumen
case CMD_SHELL: {
const char *str = argument_str;
if (str) {
- strbuf_cpy(ted->build_dir, ted->cwd);
+ build_set_working_directory(ted, ted->cwd);
build_start_with_command(ted, str);
} else {
menu_open(ted, MENU_SHELL);