summaryrefslogtreecommitdiffstats
path: root/src/b_export.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-03 16:50:32 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-03 16:50:32 +0200
commit6ca882c8feb9fb88cf8e1421e882fb7e9efb97f8 (patch)
treead40b8540543eadf35a0747eaae76ce8c1260ccd /src/b_export.c
parentPretty good (diff)
download42-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.c5
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++;
}