From 17ee332ddad0c9335e024a00538eefaf00db8927 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Tue, 14 Aug 2018 18:01:48 +0200 Subject: [PATCH] Do not export values in memanalyzer --- code/memanalyzer.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/memanalyzer.py b/code/memanalyzer.py index f57642cd..4cec1c64 100644 --- a/code/memanalyzer.py +++ b/code/memanalyzer.py @@ -102,7 +102,7 @@ def run(env_, modules_): flags = "" for item in modules_.items(): flags += "-D%s_SUPPORT=%d " % item - command = "export ESPURNA_BOARD=\"WEMOS_D1_MINI_RELAYSHIELD\"; export ESPURNA_FLAGS=\"%s\"; platformio run --silent --environment %s 2>/dev/null" % (flags, env_) + command = "ESPURNA_BOARD=\"WEMOS_D1_MINI_RELAYSHIELD\" ESPURNA_FLAGS=\"%s\" platformio run --silent --environment %s 2>/dev/null" % (flags, env_) subprocess.check_call(command, shell=True) @@ -251,6 +251,4 @@ try: except: raise -subprocess.check_call("export ESPURNA_BOARD=\"\"; export ESPURNA_FLAGS=\"\"", shell=True) - print("\n")