From 6fe49b1af7c8c0d7eb0615b1a5252b0bcbcb2c7d Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Tue, 26 Dec 2017 15:55:30 +0800 Subject: [PATCH] [Tools] Fix the env.sh in menuconfig --- tools/menuconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/menuconfig.py b/tools/menuconfig.py index 4a339ec14..c55509068 100644 --- a/tools/menuconfig.py +++ b/tools/menuconfig.py @@ -90,7 +90,7 @@ def touch_env(): os.system('git clone https://github.com/RT-Thread/env.git ~/.env/tools/scripts') env_sh = file(os.path.join(env_dir, 'env.sh'), 'w') - env_sh.write('export $PATH=~/.env/tools/scripts:$PATH') + env_sh.write('export PATH=~/.env/tools/scripts:$PATH') # menuconfig for Linux def menuconfig(RTT_ROOT): -- GitLab