From 47d2d539c74386eceb05dee7cd07adf43688014f Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 27 Apr 2020 16:16:13 +0200 Subject: Fixed relative pathn exec --- src/ft_e_externs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ft_e_externs.c') 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) { -- cgit v1.2.3