From bea195a2e8d8e26af7511a65af4c8641cb4d1c4f Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 10 Sep 2020 17:28:06 +0200 Subject: Even better parse --- src/s_com.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/s_com.c') 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) -- cgit v1.2.3