[Tools] Fix the env.sh in menuconfig

This commit is contained in:
Bernard Xiong 2017-12-26 15:55:30 +08:00 committed by GitHub
parent b5054b31cf
commit 6fe49b1af7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ def touch_env():
os.system('git clone https://github.com/RT-Thread/env.git ~/.env/tools/scripts') 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 = 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 # menuconfig for Linux
def menuconfig(RTT_ROOT): def menuconfig(RTT_ROOT):