diff options
Diffstat (limited to '')
-rw-r--r-- | src/s_com.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/s_com.c b/src/s_com.c index 277d996..51b2500 100644 --- a/src/s_com.c +++ b/src/s_com.c @@ -117,11 +117,12 @@ t_com 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); 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) |