2014-04-02 15:21:44 +08:00
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
ret = os.system('git pull origin master')
|
|
|
|
if(ret != 0):
|
2015-01-29 08:40:19 +08:00
|
|
|
sys.exit(1)
|
2014-04-02 15:21:44 +08:00
|
|
|
ret = os.system('git submodule update --init --force')
|
|
|
|
if(ret != 0):
|
2015-01-29 08:40:19 +08:00
|
|
|
sys.exit(1)
|