diff options
Diffstat (limited to 'src/s_com.c')
-rw-r--r-- | src/s_com.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/s_com.c b/src/s_com.c index 51b2500..4d78573 100644 --- a/src/s_com.c +++ b/src/s_com.c @@ -116,13 +116,13 @@ t_com ft_strlcpy(nword, word, ARG_MAX); if (p_get_redir(nword, &com) != 0) return (NULL); - p_subst_vars(nword, msh); - p_check_args_equals(nword, msh); p_subst_alias(nword, msh); + p_subst_vars(nword, msh); if ((words = p_split_args(nword, com->redir)) == NULL) return (NULL); 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') s_com_cpy_env_fork(&com, msh); if (s_fill_com(words, &com) < 0) |