些脚本的时,注意事项
来源:互联网 发布:开发程序员 编辑:程序博客网 时间:2024/06/05 19:33
1.首先要source ~/.bashrc
2.注意环境变量
#!/bin/bashsource /home/mazi/.bashrcPath="/home/mazi/source/$1/F3"repoPath="/home/mazi/bin/repo"cd "$Path"$repoPath forall -c 'git checkout -f;git clean -fd'$repoPath forall -c 'git checkout dev'$repoPath sync -j24for gTag in `git tag | grep G6_F| grep OFF_2013` do if [ "${gTag}" \> "${lastTag}" ]; then lastTag=${gTag} fi doneecho $lastTag > xxx $repoPath forall -c "git branch -D $lastTag"$repoPath forall -c "git checkout -b $lastTag $lastTag"$Path/cu.sh restore$Path/cu.sh G6echo `pwd` >> xxx $Path/build.sh G6 androidu &
- 些脚本的时,注意事项
- 翻译视频脚本时的注意事项
- shell脚本的一些注意事项
- shell脚本的一些注意事项
- php脚本的一些注意事项
- 系统升级时,数据库脚本执行注意事项,血的教训
- Installshield脚本中安装时RegDBCreateKeyEx的注意事项
- ruby 作为嵌入脚本时使用的注意事项
- LR中运行QTP脚本的注意事项
- 脚本调用的方法及注意事项
- 在android运行脚本的注意事项
- 脚本ADT打包APK的注意事项
- bash脚本的函数参数传递注意事项
- 书写安全Shell脚本的注意事项
- 编写脚本注意事项
- shell脚本注意事项
- shell脚本注意事项
- shell 脚本注意事项
- Android 巧用Itent.ACTION_PICK和Intent.ACTION_GET_CONTENT(二)
- gcc扩展
- Android 巧用Itent.ACTION_PICK和Intent.ACTION_GET_CONTENT(三)
- 程序异常退出时发送邮件报告的代码
- 黑马程序员------java中的反射,beanutils,注解的应用。
- 些脚本的时,注意事项
- 排序-冒泡排序
- 学习linux心情
- ApiDemo学习 炫酷的 layoutAnimation
- XML Lesson 3
- Android的Activity屏幕切换动画(二)-左右滑动深入与实战
- eclipse的JDK,Tomcat,Ant环境变量设置
- maven 3 jar 运行文件打包
- error LNK2001:unresolved external symbol "public: __thiscall 类名::函数名