diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-10-15 11:00:45 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-10-15 11:00:45 +0200 |
| commit | 5cf576127982f03eb7464e6e73e7a5fe815ca32e (patch) | |
| tree | 622e895cc9b4ddd65b7f96eb91d730f406bc96b8 /src/path.c | |
| parent | f1745aba15c79b26dc37ee9652fc8ffed37b72df (diff) | |
| parent | 5e327efa642d03bf960716b5058c3d618f5b893f (diff) | |
| download | minishell-5cf576127982f03eb7464e6e73e7a5fe815ca32e.tar.gz minishell-5cf576127982f03eb7464e6e73e7a5fe815ca32e.tar.bz2 minishell-5cf576127982f03eb7464e6e73e7a5fe815ca32e.zip | |
Merge branch 'master' into rendu
Diffstat (limited to 'src/path.c')
| -rw-r--r-- | src/path.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,7 +6,7 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/27 15:51:01 by cacharle #+# #+# */ -/* Updated: 2020/10/09 13:36:26 by cacharle ### ########.fr */ +/* Updated: 2020/10/15 09:35:31 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -40,7 +40,7 @@ static bool st_dir_search( return (false); while ((entry = readdir(dir)) != NULL) { - if (ft_strcmp(entry->d_name, exec_name) == 0) + if (ft_strcasecmp(entry->d_name, exec_name) == 0) { ft_strcpy(exec_path, dirname); ft_strcat(exec_path, "/"); |
