summaryrefslogtreecommitdiffstats
path: root/src/ft_e_builtins.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-18 22:30:33 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-18 22:30:33 +0200
commitee65a03a7ac25d6690e1c994dc6ff435aaaa5f66 (patch)
treeb37a19fca10a3562580898917a7075bbd085e832 /src/ft_e_builtins.c
parentOn the way to cwd (diff)
download42-minishell-ee65a03a7ac25d6690e1c994dc6ff435aaaa5f66.tar.gz
42-minishell-ee65a03a7ac25d6690e1c994dc6ff435aaaa5f66.tar.bz2
42-minishell-ee65a03a7ac25d6690e1c994dc6ff435aaaa5f66.tar.xz
42-minishell-ee65a03a7ac25d6690e1c994dc6ff435aaaa5f66.tar.zst
42-minishell-ee65a03a7ac25d6690e1c994dc6ff435aaaa5f66.zip
ok nice
Diffstat (limited to '')
-rw-r--r--src/ft_e_builtins.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_e_builtins.c b/src/ft_e_builtins.c
index 382f85d..0792de3 100644
--- a/src/ft_e_builtins.c
+++ b/src/ft_e_builtins.c
@@ -52,6 +52,7 @@ static void
if (bu_id == 1 && msh->ret == 0)
{
msh->bu_ptr[bu_id](ptr->argv + 1, msh);
+ /* this must be cd */
/* TODO: export $PWD */
}
else if (bu_id == 6 && ret == 0)