summaryrefslogtreecommitdiffstats
path: root/src/ft_e_externs.c
diff options
context:
space:
mode:
authorsalad <fmoenne-@student.le-101.fr>2020-04-27 18:11:59 +0200
committersalad <fmoenne-@student.le-101.fr>2020-04-27 18:11:59 +0200
commitf3c766105a7dc8a3f1791374c41542ea833c53ce (patch)
treeba1ecd86edf60952a85528c2e4184c7ac9ed226e /src/ft_e_externs.c
parentfecho full buffered, quotes bav (diff)
parentFinished and normed type (diff)
download42-minishell-f3c766105a7dc8a3f1791374c41542ea833c53ce.tar.gz
42-minishell-f3c766105a7dc8a3f1791374c41542ea833c53ce.tar.bz2
42-minishell-f3c766105a7dc8a3f1791374c41542ea833c53ce.tar.xz
42-minishell-f3c766105a7dc8a3f1791374c41542ea833c53ce.tar.zst
42-minishell-f3c766105a7dc8a3f1791374c41542ea833c53ce.zip
merge master into fmoenne
Diffstat (limited to 'src/ft_e_externs.c')
-rw-r--r--src/ft_e_externs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ft_e_externs.c b/src/ft_e_externs.c
index 4cdcc3c..07bd9e1 100644
--- a/src/ft_e_externs.c
+++ b/src/ft_e_externs.c
@@ -70,7 +70,8 @@ void
if (ft_ischarset("/.", ptr->com[0]))
{
- /* TODO: ft_get_physical_path(ptr->com); */
+ ft_exec_path(ptr->com, ptr, msh);
+ return ;
}
else if ((envpath = ft_get_env_path(msh)) != NULL)
{