From f5ae3111bae2585566983df0fab61c1589678e61 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 3 Jul 2015 13:54:29 +0800 Subject: [PATCH] Fix calling clean.py --- script/cibuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/script/cibuild b/script/cibuild index 8f5185da71..cbd3c75d0d 100755 --- a/script/cibuild +++ b/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