Browse Source

[Tools] Fix the env.sh in menuconfig

Bernard Xiong 7 years ago
parent
commit
6fe49b1af7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/menuconfig.py

+ 1 - 1
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):