1 Star 0 Fork 117

mdche/openEuler-Advisor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
develop_env.sh 395 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
#Config environment before develop, please run: source ./develop_env.sh
advisor_path=$(cd $(dirname ${BASH_SOURCE}); pwd)
python_paths=$(echo ${PYTHONPATH} | sed 's/:/ /g')
existed=0
for path in $python_paths
do
if [ $advisor_path = $path ]; then
existed=1
fi
done
if [ $existed -eq 0 ]; then
export PYTHONPATH=${PYTHONPATH}:${advisor_path}
fi
echo "PYTHONPATH=${PYTHONPATH}"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gitee-cmd/openEuler-Advisor.git
git@gitee.com:gitee-cmd/openEuler-Advisor.git
gitee-cmd
openEuler-Advisor
openEuler-Advisor
master

搜索帮助