diff options
| author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-03 16:50:32 +0200 | 
|---|---|---|
| committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-03 16:50:32 +0200 | 
| commit | 6ca882c8feb9fb88cf8e1421e882fb7e9efb97f8 (patch) | |
| tree | ad40b8540543eadf35a0747eaae76ce8c1260ccd /src/b_export.c | |
| parent | Pretty good (diff) | |
| download | 42-minishell-6ca882c8feb9fb88cf8e1421e882fb7e9efb97f8.tar.gz 42-minishell-6ca882c8feb9fb88cf8e1421e882fb7e9efb97f8.tar.bz2 42-minishell-6ca882c8feb9fb88cf8e1421e882fb7e9efb97f8.tar.xz 42-minishell-6ca882c8feb9fb88cf8e1421e882fb7e9efb97f8.tar.zst 42-minishell-6ca882c8feb9fb88cf8e1421e882fb7e9efb97f8.zip | |
In progress
Diffstat (limited to 'src/b_export.c')
| -rw-r--r-- | src/b_export.c | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/src/b_export.c b/src/b_export.c index 52790e4..c47a8fb 100644 --- a/src/b_export.c +++ b/src/b_export.c @@ -14,8 +14,9 @@  #include <stdlib.h>  #include <stdint.h> -#include "d_enum.h"  #include "b_env.h" +#include "b_export_next.h" +#include "d_enum.h"  #include "f_fail.h"  #include "s_destroy.h"  #include "s_lcom.h" @@ -121,7 +122,7 @@ uint8_t  		}  		else if (next == FALSE && check_equals(*ptr) == TRUE)  		{ -			/* TODO: verify global vars, delete if needed, export the thing */ +			b_export_with_equals(*ptr, msh);  		}  		ptr++;  	} | 
