stoped putting file arount the system
This commit is contained in:
@@ -49,7 +49,7 @@ t_ast_n *parser(char *input, t_msh *msh)
|
||||
create_heredoc(lst);
|
||||
if (DEBUG)
|
||||
{
|
||||
dio = drawio_init("ast.xml");
|
||||
dio = drawio_init(DIO_PATH);
|
||||
gen_dio_linked_list(lst, dio);
|
||||
}
|
||||
ast = get_ast(msh, lst);
|
||||
|
||||
@@ -33,7 +33,7 @@ char *get_pwd()
|
||||
return (ft_strdup(""));
|
||||
pwd_base = pwd;
|
||||
cpy = pwd;
|
||||
if (ft_strncmp(pwd, "/home", 5) == 0)
|
||||
if (ft_strncmp(pwd, "/home/", 6) == 0)
|
||||
{
|
||||
pwd += 6;
|
||||
while (pwd && *pwd && (*pwd) != '/')
|
||||
|
||||
Reference in New Issue
Block a user