Browse Source

Fix calling clean.py

Cheng Zhao 9 years ago
parent
commit
f5ae3111ba
1 changed files with 3 additions and 2 deletions
  1. 3 2
      script/cibuild

+ 3 - 2
script/cibuild

@@ -48,7 +48,7 @@ def main():
   if PLATFORM == 'linux':
     os.environ['DISPLAY'] = ':99.0'
 
-  execute(['clean.py'])
+  run_script('clean.py')
 
   # CI's npm is not reliable.
   npm = 'npm.cmd' if PLATFORM == 'win32' else 'npm'
@@ -84,4 +84,5 @@ if __name__ == '__main__':
   try:
     sys.exit(main())
   except subprocess.CalledProcessError:
-    execute(['clean.py'])
+    run_script('clean.py')
+    raise