export et autre
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/03/05 18:20:21 by marde-vr #+# #+# */
|
||||
/* Updated: 2024/04/19 19:36:51 by marde-vr ### ########.fr */
|
||||
/* Updated: 2024/04/21 23:25:05 by tomoron ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -39,8 +39,7 @@ int cmd_is_builtin(t_msh *msh, char *cmd_token)
|
||||
}
|
||||
else if (!ft_strcmp(cmd_token, "export"))
|
||||
{
|
||||
if (!(/*msh->in_type == PIPE || msh->out_type == PIPE*/ 0))
|
||||
g_return_code = ft_export(msh);
|
||||
g_return_code = ft_export(msh->tokens, msh->env);
|
||||
return (1);
|
||||
}
|
||||
else if (!ft_strcmp(cmd_token, "unset"))
|
||||
|
Reference in New Issue
Block a user