summaryrefslogtreecommitdiffstats
path: root/src/s_com.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-01 16:44:52 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-01 16:44:52 +0200
commitd5a11fcb60022edfc96bf83c9ab8cdb03e6b762a (patch)
tree680241a07574d5ca389c602a6a546899f665754c /src/s_com.c
parentUpdate (diff)
download42-minishell-d5a11fcb60022edfc96bf83c9ab8cdb03e6b762a.tar.gz
42-minishell-d5a11fcb60022edfc96bf83c9ab8cdb03e6b762a.tar.bz2
42-minishell-d5a11fcb60022edfc96bf83c9ab8cdb03e6b762a.tar.xz
42-minishell-d5a11fcb60022edfc96bf83c9ab8cdb03e6b762a.tar.zst
42-minishell-d5a11fcb60022edfc96bf83c9ab8cdb03e6b762a.zip
Cool
Diffstat (limited to 'src/s_com.c')
-rw-r--r--src/s_com.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/s_com.c b/src/s_com.c
index 75a5040..99b3158 100644
--- a/src/s_com.c
+++ b/src/s_com.c
@@ -116,6 +116,7 @@ t_com
return (NULL);
if ((words = p_split_args(word, com->redir)) == NULL)
return (NULL);
+ /* TODO: subst vars is before getting words fuck my life */
if ((words = p_subst_vars(words, msh)) == NULL)
return (NULL);
if ((words = p_subst_home(words, msh)) == NULL)