最近在编译的时候,需要用到VBScript,发现里面的某些调用路径是写死的实路径,因此修改了一下,提高灵活性一下。
|
1 2 3 |
Dim sBuilder As String sBuilder = Environ("MRPBUILDER_HOME") & "\compiler\mrpbuilder.NET.exe Makefile --without_c_helper" Shell (sBuilder) |
杂记
最近在编译的时候,需要用到VBScript,发现里面的某些调用路径是写死的实路径,因此修改了一下,提高灵活性一下。
|
1 2 3 |
Dim sBuilder As String sBuilder = Environ("MRPBUILDER_HOME") & "\compiler\mrpbuilder.NET.exe Makefile --without_c_helper" Shell (sBuilder) |
After a bit of googling and going through the mailing lists, I finally found the solution:
1. Go to ./repo/manifests
2. $ git reset --hard
3. $ repo sync
[Please note that there are two dashes "- -" before 'hard']
repo撤销本地修改
|
1 |
repo forall -c git reset --hard HEAD |
有的时候修改本地代码了,再次同步的时候会报错,需要清理代码的时候,可以执行这个命令