diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-10 17:28:06 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-10 17:28:06 +0200 |
commit | bea195a2e8d8e26af7511a65af4c8641cb4d1c4f (patch) | |
tree | b3c9deb46292896ec53fa2996152293d2e92f009 /src/s_com.c | |
parent | qwe (diff) | |
download | 42-minishell-bea195a2e8d8e26af7511a65af4c8641cb4d1c4f.tar.gz 42-minishell-bea195a2e8d8e26af7511a65af4c8641cb4d1c4f.tar.bz2 42-minishell-bea195a2e8d8e26af7511a65af4c8641cb4d1c4f.tar.xz 42-minishell-bea195a2e8d8e26af7511a65af4c8641cb4d1c4f.tar.zst 42-minishell-bea195a2e8d8e26af7511a65af4c8641cb4d1c4f.zip |
Even better parse
Diffstat (limited to '')
-rw-r--r-- | src/s_com.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s_com.c b/src/s_com.c index 5bdb36a..0f206c4 100644 --- a/src/s_com.c +++ b/src/s_com.c @@ -118,9 +118,9 @@ t_com return (NULL); if ((words = p_split_args(word, com->redir)) == NULL) return (NULL); + words = p_check_args_equals(words, msh); if ((words = p_subst_home(words, msh)) == NULL) return (NULL); - words = p_check_args_equals(words, msh); if (msh->env_fork_tmp[0][0] != '\0') com_cpy_env_fork(&com, msh); if (fill_com(words, &com) < 0) |