added basic env & setenv commands
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2018/11/18 13:09:55 by tmaze #+# #+# */
|
||||
/* Updated: 2019/01/12 17:26:33 by tmaze ### ########.fr */
|
||||
/* Updated: 2019/01/13 16:59:24 by tmaze ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -126,7 +126,7 @@ int main(void)
|
||||
return (2);
|
||||
}
|
||||
ft_strdel(&cmd);
|
||||
exec_cmd(tab_cmd, lst_env);
|
||||
exec_cmd(tab_cmd, &lst_env);
|
||||
ft_del_words_tables(&tab_cmd);
|
||||
}
|
||||
ft_lstdel(&lst_env, &ft_lstdelenvelem);
|
||||
|
Reference in New Issue
Block a user