Feat(WIP): Added possibility to cmd_env to execute commands with

altered env.

Added dummy function for cd, echo, setenv & unsetenv
Started work on env copy feature
This commit is contained in:
Tanguy MAZE
2019-09-20 15:49:38 +02:00
parent cf62dae53b
commit 05d8424f75
9 changed files with 220 additions and 30 deletions

View File

@@ -6,7 +6,7 @@
# By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2019/03/27 16:51:02 by tmaze #+# #+# #
# Updated: 2019/09/20 11:52:03 by tmaze ### ########.fr #
# Updated: 2019/09/20 14:39:42 by tmaze ### ########.fr #
# #
#******************************************************************************#
@@ -36,8 +36,13 @@ OBJDIR = objs
INCDIR = includes libft/includes
# Source files
SRC = main.c \
ms_env.c \
SRC = main.c \
cmd_env.c \
cmd_setenv.c \
cmd_unsetenv.c \
cmd_cd.c \
cmd_echo.c \
ms_env.c
OBJ = $(SRC:.c=.o)